summaryrefslogtreecommitdiffstats
path: root/src/Event.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Event.cpp b/src/Event.cpp
index 94eedba..1a0816f 100644
--- a/src/Event.cpp
+++ b/src/Event.cpp
@@ -65,14 +65,14 @@ void EventListener::HandleEvent() {
void EventAgregator::RegisterListener(EventListener &listener) {
listenersMutex.lock();
- LOG(WARNING) << "Registered handler " << &listener;
+ //LOG(WARNING) << "Registered handler " << &listener;
listeners.push_back(&listener);
listenersMutex.unlock();
}
void EventAgregator::UnregisterListener(EventListener &listener) {
listenersMutex.lock();
- LOG(WARNING) << "Unregistered handler " << &listener;
+ //LOG(WARNING) << "Unregistered handler " << &listener;
listeners.erase(std::find(listeners.begin(), listeners.end(), &listener));
listenersMutex.unlock();
}