summaryrefslogtreecommitdiffstats
path: root/src/Event.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-19 17:20:51 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-19 17:20:51 +0200
commitf24107368fa47f911f4491f644ff3755525c91e1 (patch)
tree02dc3583ed82d81139b17191af9a9bfae40c45a9 /src/Event.cpp
parent2017-08-18 (diff)
downloadAltCraft-f24107368fa47f911f4491f644ff3755525c91e1.tar
AltCraft-f24107368fa47f911f4491f644ff3755525c91e1.tar.gz
AltCraft-f24107368fa47f911f4491f644ff3755525c91e1.tar.bz2
AltCraft-f24107368fa47f911f4491f644ff3755525c91e1.tar.lz
AltCraft-f24107368fa47f911f4491f644ff3755525c91e1.tar.xz
AltCraft-f24107368fa47f911f4491f644ff3755525c91e1.tar.zst
AltCraft-f24107368fa47f911f4491f644ff3755525c91e1.zip
Diffstat (limited to 'src/Event.cpp')
-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();
}