summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-04 21:19:02 +0200
committerDavid Robillard <d@drobilla.net>2018-09-04 21:19:02 +0200
commitfe9be7925ef6fffa24309be3be498b9af54ffc6d (patch)
treea46a145b26f0ec42ea2ff968f1e37afe7c009a8d /src
parent9cb7fcc65b5bf1386e40277df9545f19a6fd5fe4 (diff)
downloadingen-fe9be7925ef6fffa24309be3be498b9af54ffc6d.tar.gz
ingen-fe9be7925ef6fffa24309be3be498b9af54ffc6d.tar.bz2
ingen-fe9be7925ef6fffa24309be3be498b9af54ffc6d.zip
Fix catch of polymorphic exception by value
Diffstat (limited to 'src')
-rw-r--r--src/server/CompiledGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/CompiledGraph.cpp b/src/server/CompiledGraph.cpp
index c2160c75..35b07935 100644
--- a/src/server/CompiledGraph.cpp
+++ b/src/server/CompiledGraph.cpp
@@ -64,7 +64,7 @@ CompiledGraph::compile(Raul::Maid& maid, GraphImpl& graph)
{
try {
return maid.make_managed<CompiledGraph>(&graph);
- } catch (FeedbackException e) {
+ } catch (const FeedbackException& e) {
Log& log = graph.engine().log();
if (e.node && e.root) {
log.error(fmt("Feedback compiling %1% from %2%\n")