Fix brace init with struct defaults #951

This commit is contained in:
Thomas Krijnen
2020-08-17 18:02:59 +02:00
parent 7f48923153
commit 48f3d52880
+4 -1
View File
@@ -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)