summaryrefslogtreecommitdiff
path: root/src/mainwin.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/mainwin.cc
parent750e1f9f649e0908bf1d89c9e31d61ef0f56fe7f (diff)
Catch exceptions as const references. Related to #204
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 6bdcd70..4b0df70 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -709,7 +709,7 @@ void MainWindow::compileCSG(bool procevents)
PolySetCache::instance()->print();
CGALCache::instance()->print();
}
- catch (ProgressCancelException e) {
+ catch (const ProgressCancelException &e) {
PRINT("CSG generation cancelled.");
}
progress_report_fin();
contact: Jan Huwald // Impressum