From 06ed79dd7c41da0d0a948a68109594099ed97f14 Mon Sep 17 00:00:00 2001 From: Otso Alho Date: Fri, 13 Apr 2018 12:48:42 +0300 Subject: [PATCH] use unordered map for entity by id --- src/ifcparse/IfcFile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ifcparse/IfcFile.h b/src/ifcparse/IfcFile.h index 8b2137514a..85db1dea0b 100644 --- a/src/ifcparse/IfcFile.h +++ b/src/ifcparse/IfcFile.h @@ -22,6 +22,7 @@ #include #include +#include #include "ifc_parse_api.h" @@ -35,7 +36,7 @@ namespace IfcParse { class IFC_PARSE_API IfcFile { public: typedef std::map entities_by_type_t; - typedef std::map entity_by_id_t; + typedef boost::unordered_map entity_by_id_t; typedef std::map entity_by_guid_t; typedef std::map > entities_by_ref_t; typedef entity_by_id_t::const_iterator const_iterator;