diff --git a/common/events.cpp b/common/events.cpp index 0fab55c956c..57765f9d13f 100644 --- a/common/events.cpp +++ b/common/events.cpp @@ -95,7 +95,7 @@ void EventDispatcher::unregisterSource(EventSource *source) { _sources.erase(i); return; } - } + } } void EventDispatcher::registerObserver(EventObserver *obs, uint priority, bool autoFree) { diff --git a/common/events.h b/common/events.h index 014c82ec91b..34769729ea3 100644 --- a/common/events.h +++ b/common/events.h @@ -234,7 +234,7 @@ public: * Another speciality is the support for a event mapper, which * will catch events and create new events out of them. This * mapper will be processed before an event is sent to the - * observers. + * observers. */ class EventDispatcher { public: @@ -300,7 +300,7 @@ private: struct SourceEntry : public Entry { EventSource *source; }; - + Common::List _sources; struct ObserverEntry : public Entry {