From afaa34ffc26e7467eca616f4dd53e4a77a8bcc96 Mon Sep 17 00:00:00 2001 From: stephassoria Date: Mon, 25 Nov 2019 13:28:10 +0100 Subject: [PATCH] IfcOpenShell v0.6.0 as subrepo --- src/ifcparse/IfcSchema.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ifcparse/IfcSchema.h b/src/ifcparse/IfcSchema.h index 158dcd1547..5f49eb6c7e 100644 --- a/src/ifcparse/IfcSchema.h +++ b/src/ifcparse/IfcSchema.h @@ -243,7 +243,7 @@ namespace IfcParse { std::vector inverse_attributes_; - class attribute_by_name_cmp : public std::unary_function { + class attribute_by_name_cmp { private: std::string name_; public: @@ -399,14 +399,14 @@ namespace IfcParse { std::vector enumeration_types_; std::vector entities_; - class declaration_by_name_cmp : public std::binary_function { + class declaration_by_name_cmp { public: bool operator()(const declaration* decl, const std::string& name) { return decl->name_lc() < name; } }; - class declaration_by_index_sort : public std::binary_function { + class declaration_by_index_sort { public: bool operator()(const declaration* a, const declaration* b) { return a->index_in_schema() < b->index_in_schema();