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 (0); + return boost::shared_ptr (); } 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 (0); + return boost::shared_ptr (); } return boost::shared_ptr (new PluginInsert (*s, p));