diff options
author | Marius Kintel <marius@kintel.net> | 2012-10-09 00:49:02 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-10-09 00:49:02 (GMT) |
commit | 087b9bb7c3462894acd5d527f32c4b43bedf6fdb (patch) | |
tree | 236093cb5760e0577961594835c40b194be1e446 /src/cgalutils.cc | |
parent | 750e1f9f649e0908bf1d89c9e31d61ef0f56fe7f (diff) |
Catch exceptions as const references. Related to #204
Diffstat (limited to 'src/cgalutils.cc')
-rw-r--r-- | src/cgalutils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgalutils.cc b/src/cgalutils.cc index e39c495..a1c7dc2 100644 --- a/src/cgalutils.cc +++ b/src/cgalutils.cc @@ -136,7 +136,7 @@ CGAL_Polyhedron *createPolyhedronFromPolySet(const PolySet &ps) CGAL_Build_PolySet builder(ps); P->delegate(builder); } - catch (CGAL::Assertion_exception e) { + catch (const CGAL::Assertion_exception &e) { PRINTB("CGAL error in CGAL_Build_PolySet: %s", e.what()); delete P; P = NULL; |