summaryrefslogtreecommitdiff
path: root/src/CGAL_Nef_polyhedron.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-10-09 00:49:02 (GMT)
committerMarius Kintel <marius@kintel.net>2012-10-09 00:49:02 (GMT)
commit087b9bb7c3462894acd5d527f32c4b43bedf6fdb (patch)
tree236093cb5760e0577961594835c40b194be1e446 /src/CGAL_Nef_polyhedron.cc
parent750e1f9f649e0908bf1d89c9e31d61ef0f56fe7f (diff)
Catch exceptions as const references. Related to #204
Diffstat (limited to 'src/CGAL_Nef_polyhedron.cc')
-rw-r--r--src/CGAL_Nef_polyhedron.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CGAL_Nef_polyhedron.cc b/src/CGAL_Nef_polyhedron.cc
index ba298ad..56232a3 100644
--- a/src/CGAL_Nef_polyhedron.cc
+++ b/src/CGAL_Nef_polyhedron.cc
@@ -101,7 +101,7 @@ PolySet *CGAL_Nef_polyhedron::convertToPolyset()
this->p3->convert_to_Polyhedron(P);
ps = createPolySetFromPolyhedron(P);
}
- catch (CGAL::Precondition_exception e) {
+ catch (const CGAL::Precondition_exception &e) {
PRINTB("CGAL error in CGAL_Nef_polyhedron::convertToPolyset(): %s", e.what());
}
CGAL::set_error_behaviour(old_behaviour);
contact: Jan Huwald // Impressum