C++98 compat

This commit is contained in:
Robin Gareus 2016-02-23 19:24:27 +01:00
parent ac95f82529
commit a4cde4230c
1 changed files with 1 additions and 1 deletions

View File

@ -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);