summaryrefslogtreecommitdiffstats
path: root/src/view/Window.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-22 21:59:13 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-22 21:59:13 +0200
commitc9b41bc1022c75ac6da84f4fa503dd8231a96cf2 (patch)
treeef4a7e363593cc69afb41adf2cade980a2f8428c /src/view/Window.hpp
parentfe0c3b733abf6eac5f4b5bc18f24f8a5cda1bfc4 (diff)
downloadrpgedit-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.hpp4
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);
}
};