diff options
Diffstat (limited to 'src/view/Window.hpp')
-rw-r--r-- | src/view/Window.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/Window.hpp b/src/view/Window.hpp index c586b57..f53a9a0 100644 --- a/src/view/Window.hpp +++ b/src/view/Window.hpp @@ -26,6 +26,8 @@ #pragma once +#include <utility> + #include <SDL.h> @@ -57,7 +59,7 @@ public: int w, h; SDL_GetWindowSize(window, &w, &h); - return std::make_pair<>(w, h); + return std::pair<int, int>(w, h); } }; |