summaryrefslogtreecommitdiffstats
path: root/engine/include/core/signal.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/include/core/signal.hpp')
-rw-r--r--engine/include/core/signal.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/include/core/signal.hpp b/engine/include/core/signal.hpp
index 606d61a..e21b73e 100644
--- a/engine/include/core/signal.hpp
+++ b/engine/include/core/signal.hpp
@@ -124,7 +124,7 @@ namespace flat
const std::initializer_list<std::string>& filters = {});
template<typename R, typename T>
- inline listener::ptr connect(R T::*mf, T& obj,
+ inline listener::ptr connect(R T::*mf, T* obj,
const std::initializer_list<std::string>& filters = {})
{
using namespace std::placeholders;