diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-19 00:14:42 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-19 00:14:42 +0100 |
commit | de85f0ad4b769029920ddcf36249da23575db1f1 (patch) | |
tree | 3dcfa2c5216f2ad5ddfe8ba3607771f7d2723694 /libs/ardour/lua_api.cc | |
parent | b0937edeec74b8afe054f313cf9d8d72cd3e3400 (diff) |
gcc4 compat
Diffstat (limited to 'libs/ardour/lua_api.cc')
-rw-r--r-- | libs/ardour/lua_api.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/lua_api.cc b/libs/ardour/lua_api.cc index bd7dc0e780..e0153d06ee 100644 --- a/libs/ardour/lua_api.cc +++ b/libs/ardour/lua_api.cc @@ -51,7 +51,7 @@ ARDOUR::LuaAPI::new_luaproc (Session *s, const string& name) if (!spi) { warning << _("Script with given name was not found\n"); - return boost::shared_ptr<Processor> (0); + return boost::shared_ptr<Processor> (); } PluginPtr p; @@ -60,7 +60,7 @@ ARDOUR::LuaAPI::new_luaproc (Session *s, const string& name) p = (lpi->load (*s)); } catch (...) { 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)); |