From 7c6620550a060baa3b80763d0b56a2cb7e3bfeae Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 15 Jun 2023 21:27:42 +0200 Subject: [PATCH] add assert #3308 --- src/ifcgeom/abstract_mapping.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ifcgeom/abstract_mapping.cpp b/src/ifcgeom/abstract_mapping.cpp index d954b604c5..fd253edc5d 100644 --- a/src/ifcgeom/abstract_mapping.cpp +++ b/src/ifcgeom/abstract_mapping.cpp @@ -5,6 +5,10 @@ #include #include +#ifndef SCHEMA_SEQ +static_assert(false, "A boost preprocessor sequence of schema identifiers is needed for this file to compile."); +#endif + ifcopenshell::geometry::impl::MappingFactoryImplementation& ifcopenshell::geometry::impl::mapping_implementations() { static MappingFactoryImplementation impl; return impl;