From 33c756b38e94cef68b3f842c1c2f8bad9d4447a2 Mon Sep 17 00:00:00 2001 From: UIS Date: Thu, 10 Dec 2020 15:23:59 +0300 Subject: Fix multithreading Reorder locks in Event.cpp --- src/Event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Event.hpp') diff --git a/src/Event.hpp b/src/Event.hpp index 4e04a5a..b1594e7 100644 --- a/src/Event.hpp +++ b/src/Event.hpp @@ -79,7 +79,7 @@ public: void HandleAllEvents(); - bool NotEmpty(); + bool Empty(); void RegisterHandler(size_t eventId, const HandlerType &data); -- cgit v1.2.3