Const ptr references and address some warnings

This commit is contained in:
Thomas Krijnen
2023-12-18 13:50:57 +00:00
parent aa5b8ce30a
commit ef929f9d30
3 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcRepresentation* inst) {
const bool use_body = !this->settings_.get<settings::IncludeCurves>().get();
auto items = map_to_collection(this, inst->Items());
if (items == nullptr) {
if (!items) {
return nullptr;
}