diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index ca4fc26490..f164dc9c9d 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -178,7 +178,10 @@ bool init_input_file(const std::string& filename, IfcParse::IfcFile*& ifc_file, // from https://stackoverflow.com/questions/31696328/boost-program-options-using-zero-parameter-options-multiple-times struct verbosity_counter { - int count = 0; + int count; + verbosity_counter(int c = 0) { + count = c; + } }; #if defined(_MSC_VER) && defined(_UNICODE)