From 7c3fd2fe794e5073760457300d24a23f23c54012 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 26 Oct 2018 13:40:03 +0200 Subject: Glib throws a const FileError exception --- libs/ardour/luaproc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/luaproc.cc') diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index ec13efb1bf..bf93e1df67 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -1258,7 +1258,7 @@ LuaPluginInfo::load (Session& session) try { script = Glib::file_get_contents (path); - } catch (Glib::FileError err) { + } catch (Glib::FileError const& err) { return PluginPtr (); } -- cgit v1.2.3