From a4cde4230c043dc5964c0c8801601d96704b4954 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 23 Feb 2016 19:24:27 +0100 Subject: [PATCH] C++98 compat --- gtk2_ardour/luainstance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/luainstance.cc b/gtk2_ardour/luainstance.cc index 07c7c48b1d..d33bc44c8c 100644 --- a/gtk2_ardour/luainstance.cc +++ b/gtk2_ardour/luainstance.cc @@ -681,7 +681,7 @@ LuaInstance::register_lua_slot (const std::string& name, const std::string& scri bool LuaInstance::unregister_lua_slot (const PBD::ID& id) { - LuaCallbackMap::const_iterator i = _callbacks.find (id); + LuaCallbackMap::iterator i = _callbacks.find (id); if (i != _callbacks.end()) { SlotChanged (id, "", ActionHook()); /* EMIT SIGNAL */ _callbacks.erase (i);