summaryrefslogtreecommitdiff
path: root/libs/ardour/lua_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/lua_api.cc')
-rw-r--r--libs/ardour/lua_api.cc4
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));