diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-09 03:48:56 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-09 03:48:56 (GMT) |
commit | ed6dd37dd5e21a665298a4afb68506ce9ac4a138 (patch) | |
tree | 0be503fc78f93da891b3d2327c105500cb6edd7c /src/cgalutils.cc | |
parent | acc0a21fe329287dba98428a13c67ad82ec380b1 (diff) |
Ported away from QHash
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); |