summaryrefslogtreecommitdiffstats
path: root/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'event.cpp')
-rw-r--r--event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.cpp b/event.cpp
index 72de51c..60d432e 100644
--- a/event.cpp
+++ b/event.cpp
@@ -6,11 +6,11 @@ extern "C" {
#include <SDL2/SDL.h>
}
-wrapsdl2::event::event(const SDL_Event& e) {
+wsdl2::event::event(const SDL_Event& e) {
m_event = e;
}
-std::optional<wrapsdl2::event> wrapsdl2::poll_event() {
+std::optional<wsdl2::event> wsdl2::poll_event() {
SDL_Event ev;
if (SDL_PollEvent(&ev) != 0) {