summaryrefslogtreecommitdiff
path: root/src/cgal.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-08-24 20:25:15 (GMT)
committerMarius Kintel <marius@kintel.net>2011-08-24 20:25:15 (GMT)
commit3c87c07318d6bb854f15f3c44e0bbbbb605e5dd3 (patch)
treeea292df448038ce9cc4dad4009fcf4ce4d7250d5 /src/cgal.cc
parent428d5bfc0e8684d6cf8116d0a580b36281135a45 (diff)
compile fixes for older versions of CGAL + newer versions of gcc
Diffstat (limited to 'src/cgal.cc')
-rw-r--r--src/cgal.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cgal.cc b/src/cgal.cc
index ad33a3e..190ebd0 100644
--- a/src/cgal.cc
+++ b/src/cgal.cc
@@ -3,8 +3,11 @@
/*!
Creates a new PolySet and initializes it with the data from this polyhedron
+
+ This method is not const since convert_to_Polyhedron() wasn't const
+ in earlier versions of CGAL.
*/
-PolySet *CGAL_Nef_polyhedron::convertToPolyset() const
+PolySet *CGAL_Nef_polyhedron::convertToPolyset()
{
PolySet *ps = new PolySet();
CGAL_Polyhedron P;
contact: Jan Huwald // Impressum