Virtual inheritance prototype for select

This commit is contained in:
Thomas Krijnen
2021-09-06 18:52:37 +02:00
parent 66faea1285
commit 41f2b11234
25 changed files with 8202 additions and 8158 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
#include "IfcRegisterUndef.h"
#define SHAPE(T) \
if ( !processed && l->declaration().is(IfcSchema::T::Class()) ) { \
if (!processed && l->as<IfcSchema::T>()) { \
processed = true; \
try { \
if ( convert((IfcSchema::T*)l,r) ) { \
if ( convert(l->as<IfcSchema::T>(),r) ) { \
success = true; \
} \
} catch (const std::exception& e) { \