diff plugin/PiperVampPluginFactory.cpp @ 1465:cee1be4fb8c1

Fix some compiler warnings
author Chris Cannam
date Tue, 15 May 2018 11:03:49 +0100
parents 91bb68146dfc
children c014839f49c7
line wrap: on
line diff
--- a/plugin/PiperVampPluginFactory.cpp	Fri May 11 14:11:04 2018 +0100
+++ b/plugin/PiperVampPluginFactory.cpp	Tue May 15 11:03:49 2018 +0100
@@ -251,7 +251,7 @@
 
     try {
         resp = client.list(req);
-    } catch (piper_vamp::client::ServerCrashed) {
+    } catch (const piper_vamp::client::ServerCrashed &) {
         SVDEBUG << "PiperVampPluginFactory: Piper server crashed" << endl;
         errorMessage = QObject::tr
             ("External plugin host exited unexpectedly while listing plugins");