commit 9bd02f46f348c66c5503d7e486ba6108054e29ef
parent a430c7f0c762c9f0bcd3cac2b2e8e1946b1b3b08
Author: Kyle Milz <kyle@0x30.net>
Date: Sun, 11 Dec 2016 20:37:10 -0700
src: move #include <vector> out of common includes
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/demo-common.h b/src/demo-common.h
@@ -27,8 +27,6 @@
#include <math.h>
#include <assert.h>
-#include <vector>
-
#include <GL/glew.h>
#if defined(__APPLE__)
diff --git a/src/demo-shader.h b/src/demo-shader.h
@@ -19,6 +19,8 @@
#ifndef DEMO_SHADERS_H
#define DEMO_SHADERS_H
+#include <vector>
+
#include "demo-common.h"
#include "gl_font.h"
diff --git a/src/gl_font.cc b/src/gl_font.cc
@@ -18,11 +18,12 @@
#include <err.h>
+#include <unordered_map>
+#include <vector>
+
#include "gl_font.h"
#include "glyphy/glyphy-freetype.h"
-#include <unordered_map>
-
#if defined(__OpenBSD__)
#define FONT_PATH "/usr/X11R6/lib/X11/fonts/TTF/DejaVuSansMono.ttf"
#elif defined(__APPLE__)