diff options
Diffstat (limited to 'plugingui/eventhandler.cc')
-rw-r--r-- | plugingui/eventhandler.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc index 9643d3f..aded993 100644 --- a/plugingui/eventhandler.cc +++ b/plugingui/eventhandler.cc @@ -29,7 +29,8 @@ #include "window.h" #include "painter.h" -namespace GUI { +namespace GUI +{ EventHandler::EventHandler(NativeWindow& nativeWindow, Window& window) : window(window) @@ -51,7 +52,7 @@ std::shared_ptr<Event> EventHandler::getNextEvent() } auto event = events.front(); - events.pop(); + events.pop_front(); return event; } |