aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/include/eventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/events/include/eventHandler.h')
-rw-r--r--mwe/events/include/eventHandler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/mwe/events/include/eventHandler.h b/mwe/events/include/eventHandler.h
index 3a83b15..8598cee 100644
--- a/mwe/events/include/eventHandler.h
+++ b/mwe/events/include/eventHandler.h
@@ -22,8 +22,9 @@ private:
template <typename EventType>
class EventHandlerWrapper : public IEventHandlerWrapper {
public:
- explicit EventHandlerWrapper(const EventHandler<EventType> & handler,
- const bool destroyOnSuccess = false)
+ explicit EventHandlerWrapper(
+ const EventHandler<EventType> & handler, const bool destroyOnSuccess = false
+ )
: m_handler(handler),
m_handlerType(m_handler.target_type().name()),
m_destroyOnSuccess(destroyOnSuccess) {
@@ -42,5 +43,5 @@ private:
EventHandler<EventType> m_handler;
const std::string m_handlerType;
- bool m_destroyOnSuccess{false};
+ bool m_destroyOnSuccess {false};
};