Mercurial > hg > piper-cpp
diff vamp-client/qt/PiperAutoPlugin.h @ 260:3db4c7998faf
Fix compiler warnings
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 15 May 2018 11:12:37 +0100 |
parents | df65480a08de |
children | 4b581a498981 |
line wrap: on
line diff
--- a/vamp-client/qt/PiperAutoPlugin.h Fri May 11 17:00:50 2018 +0100 +++ b/vamp-client/qt/PiperAutoPlugin.h Tue May 15 11:12:37 2018 +0100 @@ -101,7 +101,7 @@ try { LoadResponse resp = m_client.load(req); m_plugin = resp.plugin; - } catch (ServerCrashed c) { + } catch (const ServerCrashed &c) { log(std::string("PiperAutoPlugin: Server crashed: ") + c.what()); m_plugin = 0; }