Skip to content

Commit 840818d

Browse files
authored
#3308 add assert
1 parent 206933a commit 840818d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/ifcgeom_schema_agnostic/Kernel.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#include <boost/preprocessor/comparison/greater.hpp>
1212
#include <boost/preprocessor/selection/min.hpp>
1313

14+
#ifndef SCHEMA_SEQ
15+
static_assert(false, "A boost preprocessor sequence of schema identifiers is needed for this file to compile.");
16+
#endif
1417

1518
// @tfk A macro cannot define an include (I think), so here we can't
1619
// loop over the sequence of schema identifiers, but rather we have
@@ -168,4 +171,4 @@ namespace IfcGeom {
168171
};
169172
}
170173

171-
#endif
174+
#endif

0 commit comments

Comments
 (0)