summaryrefslogtreecommitdiff
path: root/src/cgalworker.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/cgalworker.cc
parent750e1f9f649e0908bf1d89c9e31d61ef0f56fe7f (diff)
Catch exceptions as const references. Related to #204
Diffstat (limited to 'src/cgalworker.cc')
-rw-r--r--src/cgalworker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgalworker.cc b/src/cgalworker.cc
index 30bb1fe..96fead9 100644
--- a/src/cgalworker.cc
+++ b/src/cgalworker.cc
@@ -31,7 +31,7 @@ void CGALWorker::work()
CGALEvaluator evaluator(*this->tree);
root_N = new CGAL_Nef_polyhedron(evaluator.evaluateCGALMesh(*this->tree->root()));
}
- catch (ProgressCancelException e) {
+ catch (const ProgressCancelException &e) {
PRINT("Rendering cancelled.");
}
contact: Jan Huwald // Impressum