diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index a2cd9ba3de..e2362d6e13 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -1423,12 +1423,16 @@ IfcFile::IfcFile(const IfcParse::schema_definition* schema, filetype ty, const s byid_ = decltype(byid_)(&std::get(storage_).byid_); byref_excl_ = decltype(byref_excl_)(&std::get(storage_).byref_excl_); + byguid_ = decltype(byguid_)(&std::get(storage_).byguid_); + // byidentity_ = decltype(byidentity_)(&std::get(storage_).byidentity_); } else if (ty == FT_ROCKSDB) { storage_.emplace<2>(path, this); byid_ = decltype(byid_)(&std::get(storage_).instance_by_name_); byref_excl_ = decltype(byref_excl_)(&std::get(storage_).byref_excl_); + byguid_ = decltype(byguid_)(&std::get(storage_).byguid_); + // byidentity_ = decltype(byidentity_)(&std::get(storage_).instance_cache_); } else { throw std::runtime_error("Unsupported file format");