aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/include/eventHandler.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-12 19:59:21 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-12 19:59:21 +0100
commit8850ba096b6b4ae2dc3a813620dd35433b3c6c55 (patch)
tree6d2dc47bfc543225963ec4bbceefc55ea71fed65 /mwe/events/include/eventHandler.h
parent8524865e9a62974f77f63d70929000fc63c679d7 (diff)
parentf2509e89c02894ebd3ad992324eb300103621d26 (diff)
Merge branch 'master' into niels/RenderingParticle
Diffstat (limited to 'mwe/events/include/eventHandler.h')
-rw-r--r--mwe/events/include/eventHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mwe/events/include/eventHandler.h b/mwe/events/include/eventHandler.h
index aa8f63b..3a83b15 100644
--- a/mwe/events/include/eventHandler.h
+++ b/mwe/events/include/eventHandler.h
@@ -24,7 +24,8 @@ class EventHandlerWrapper : public IEventHandlerWrapper {
public:
explicit EventHandlerWrapper(const EventHandler<EventType> & handler,
const bool destroyOnSuccess = false)
- : m_handler(handler), m_handlerType(m_handler.target_type().name()),
+ : m_handler(handler),
+ m_handlerType(m_handler.target_type().name()),
m_destroyOnSuccess(destroyOnSuccess) {
// std::cout << m_handlerType << std::endl;
}