summaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-01-27 01:13:55 +0100
committerancarola <raffaele.ancarola@epfl.ch>2019-01-27 01:13:55 +0100
commitc01180b74cc111db70753b29c90ce9016b187c8f (patch)
treea25d721468e027f5f78d5f86f759c4fca7877483 /engine
parentDebug signals attempted (diff)
downloadflatland-c01180b74cc111db70753b29c90ce9016b187c8f.tar.gz
flatland-c01180b74cc111db70753b29c90ce9016b187c8f.zip
Small fix T& -> T*
Diffstat (limited to 'engine')
-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;