Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
1464:91bb68146dfc | 1465:cee1be4fb8c1 |
---|---|
249 | 249 |
250 piper_vamp::ListResponse resp; | 250 piper_vamp::ListResponse resp; |
251 | 251 |
252 try { | 252 try { |
253 resp = client.list(req); | 253 resp = client.list(req); |
254 } catch (piper_vamp::client::ServerCrashed) { | 254 } catch (const piper_vamp::client::ServerCrashed &) { |
255 SVDEBUG << "PiperVampPluginFactory: Piper server crashed" << endl; | 255 SVDEBUG << "PiperVampPluginFactory: Piper server crashed" << endl; |
256 errorMessage = QObject::tr | 256 errorMessage = QObject::tr |
257 ("External plugin host exited unexpectedly while listing plugins"); | 257 ("External plugin host exited unexpectedly while listing plugins"); |
258 return; | 258 return; |
259 } catch (const std::exception &e) { | 259 } catch (const std::exception &e) { |