mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
Fix brace init with struct defaults #951
This commit is contained in:
@@ -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
|
// from https://stackoverflow.com/questions/31696328/boost-program-options-using-zero-parameter-options-multiple-times
|
||||||
struct verbosity_counter {
|
struct verbosity_counter {
|
||||||
int count = 0;
|
int count;
|
||||||
|
verbosity_counter(int c = 0) {
|
||||||
|
count = c;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(_MSC_VER) && defined(_UNICODE)
|
#if defined(_MSC_VER) && defined(_UNICODE)
|
||||||
|
|||||||
Reference in New Issue
Block a user