mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
gcc compatibility
This commit is contained in:
@@ -24,7 +24,7 @@ XmlSerializer* XmlSerializerFactory::Factory::construct(const std::string& schem
|
||||
}
|
||||
|
||||
XmlSerializer::XmlSerializer(IfcParse::IfcFile* file, const std::string& xml_filename) {
|
||||
if (file != nullptr) {
|
||||
if (file) {
|
||||
implementation_ = XmlSerializerFactory::implementations().construct(file->schema()->name(), file, xml_filename);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user