mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
Virtual inheritance prototype for select
This commit is contained in:
@@ -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) { \
|
||||
|
||||
Reference in New Issue
Block a user