mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
Work-around gcc issue
This commit is contained in:
+11
-8
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
#include <iterator>
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
|
|
||||||
#include "ifc_parse_api.h"
|
#include "ifc_parse_api.h"
|
||||||
@@ -227,13 +228,15 @@ IFC_PARSE_API IfcFile* parse_ifcxml(const std::string& filename);
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
namespace std {
|
||||||
struct std::iterator_traits<IfcParse::IfcFile::type_iterator> {
|
template <>
|
||||||
typedef ptrdiff_t difference_type;
|
struct iterator_traits<IfcParse::IfcFile::type_iterator> {
|
||||||
typedef const IfcParse::declaration* value_type;
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const IfcParse::declaration*& reference;
|
typedef const IfcParse::declaration* value_type;
|
||||||
typedef const IfcParse::declaration** pointer;
|
typedef const IfcParse::declaration*& reference;
|
||||||
typedef std::forward_iterator_tag iterator_category;
|
typedef const IfcParse::declaration** pointer;
|
||||||
};
|
typedef std::forward_iterator_tag iterator_category;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user