Build fix.

Refs #5780
This commit is contained in:
Gunnar Beutner 2014-03-30 15:08:29 +02:00
parent 397fee13ff
commit b58c9ee3f8
1 changed files with 1 additions and 3 deletions

View File

@ -40,9 +40,7 @@ void ScriptInterpreter::SubscribeFunction(const String& name)
ObjectLock olock(this);
m_SubscribedFunctions.insert(name);
ScriptFunction::Ptr sf = make_shared<ScriptFunction>(boost::bind(&ScriptInterpreter::ProcessCall, this, name, _1));
ScriptFunction::Register(name, sf);
ScriptFunction::Register(name, boost::bind(&ScriptInterpreter::ProcessCall, this, name, _1));
}
void ScriptInterpreter::UnsubscribeFunction(const String& name)