diff --git a/lib/base/scriptsignal.cpp b/lib/base/scriptsignal.cpp index 4c64ccbf9..e78fade6c 100644 --- a/lib/base/scriptsignal.cpp +++ b/lib/base/scriptsignal.cpp @@ -27,7 +27,7 @@ void ScriptSignal::AddSlot(const Callback& slot) m_Slots.push_back(slot); } -Value ScriptSignal::Invoke(const std::vector& arguments) +void ScriptSignal::Invoke(const std::vector& arguments) { BOOST_FOREACH(const Callback& slot, m_Slots) slot(arguments); diff --git a/lib/base/scriptsignal.hpp b/lib/base/scriptsignal.hpp index 15f434d8f..76cea5c75 100644 --- a/lib/base/scriptsignal.hpp +++ b/lib/base/scriptsignal.hpp @@ -41,7 +41,7 @@ public: typedef boost::function& arguments)> Callback; void AddSlot(const Callback& slot); - Value Invoke(const std::vector& arguments = std::vector()); + void Invoke(const std::vector& arguments = std::vector()); static ScriptSignal::Ptr GetByName(const String& name); static void Register(const String& name, const ScriptSignal::Ptr& signal);