diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-22 21:59:13 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-22 21:59:13 +0200 |
commit | c9b41bc1022c75ac6da84f4fa503dd8231a96cf2 (patch) | |
tree | ef4a7e363593cc69afb41adf2cade980a2f8428c /src/view/Window.hpp | |
parent | fe0c3b733abf6eac5f4b5bc18f24f8a5cda1bfc4 (diff) | |
download | rpgedit-c9b41bc1022c75ac6da84f4fa503dd8231a96cf2.tar rpgedit-c9b41bc1022c75ac6da84f4fa503dd8231a96cf2.zip |
Move render function to new source file
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); } }; |