Seperate map() and map_impl() for automatic taxonomy item <> ifc instance mapping

This commit is contained in:
Thomas Krijnen
2019-08-28 09:24:00 +02:00
parent 640b08159f
commit 3bfe3b9ab5
4 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#define BIND(T) \
if (l->declaration().is(IfcSchema::T::Class())) { \
try { \
taxonomy::item* item = map((IfcSchema::T*)l); \
taxonomy::item* item = map_impl((IfcSchema::T*)l); \
if (item != nullptr) { \
item->instance = l; \
try { \