13
0

gcc4 compat

This commit is contained in:
Robin Gareus 2016-03-19 00:14:42 +01:00
parent b0937edeec
commit de85f0ad4b

View File

@ -51,7 +51,7 @@ ARDOUR::LuaAPI::new_luaproc (Session *s, const string& name)
if (!spi) { if (!spi) {
warning << _("Script with given name was not found\n"); warning << _("Script with given name was not found\n");
return boost::shared_ptr<Processor> (0); return boost::shared_ptr<Processor> ();
} }
PluginPtr p; PluginPtr p;
@ -60,7 +60,7 @@ ARDOUR::LuaAPI::new_luaproc (Session *s, const string& name)
p = (lpi->load (*s)); p = (lpi->load (*s));
} catch (...) { } catch (...) {
warning << _("Failed to instantiate Lua Processor\n"); warning << _("Failed to instantiate Lua Processor\n");
return boost::shared_ptr<Processor> (0); return boost::shared_ptr<Processor> ();
} }
return boost::shared_ptr<Processor> (new PluginInsert (*s, p)); return boost::shared_ptr<Processor> (new PluginInsert (*s, p));