diff options
Diffstat (limited to 'src/cgalutils.cc')
-rw-r--r-- | src/cgalutils.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgalutils.cc b/src/cgalutils.cc index bef873c..e77f5dd 100644 --- a/src/cgalutils.cc +++ b/src/cgalutils.cc @@ -8,6 +8,8 @@ #include <CGAL/assertions_behaviour.h> #include <CGAL/exceptions.h> +#include <map> + PolySet *createPolySetFromPolyhedron(const CGAL_Polyhedron &p) { PolySet *ps = new PolySet(); @@ -87,7 +89,7 @@ public: for (size_t i = 0; i < ps.polygons.size(); i++) { const PolySet::Polygon *poly = &ps.polygons[i]; - QHash<int,int> fc; + std::map<int,int> fc; bool facet_is_degenerated = false; for (size_t j = 0; j < poly->size(); j++) { const Vector3d &p = poly->at(j); |