Fix --traverse --exlucde=<entities|layers> + clean up duplicate code. filter::traverse_match: dynamic_cast instead of static_cast as the decomposing entity is not guaranteed to be IfcProduct

This commit is contained in:
Stinkfist0
2017-02-22 16:34:09 +02:00
committed by Thomas Krijnen
parent 9074f25e93
commit eade74c919
2 changed files with 20 additions and 27 deletions
+1 -1
View File
@@ -596,7 +596,7 @@ int main(int argc, char** argv)
}
Logger::Status(msg.str());
return successful ? 0 : 1;
return successful ? EXIT_SUCCESS : EXIT_FAILURE;
}
void write_log() {