Crazy factory implementation

This commit is contained in:
Thomas Krijnen
2017-12-19 20:24:00 +01:00
parent a792a7e2c7
commit f4463d2935
8 changed files with 179 additions and 53 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ private:
static const char* severity_strings[];
static boost::optional<IfcUtil::IfcBaseClass*> current_product;
public:
template <typename Schema>
static void SetProduct(boost::optional<typename Schema::IfcProduct*> product) {
static void SetProduct(boost::optional<IfcUtil::IfcBaseClass*> product) {
current_product = product;
}