summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-30 18:00:52 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-10-30 18:00:52 -0400
commit15cf30652cf6b6d9a52bc6eb9815fd2e19ab78e3 (patch)
treec5c66e44ea161fe537da8372a85c76d467dea778
parent80366bc61586aea427fd39c1569a3f51a13eb8e2 (diff)
downloadqtlocation-mapboxgl-15cf30652cf6b6d9a52bc6eb9815fd2e19ab78e3.tar.gz
rename to .hpp to avoid compiling twice
-rw-r--r--src/geometry/debug_font_buffer.cpp2
-rw-r--r--src/geometry/debug_font_data.hpp (renamed from src/geometry/debug_font.cpp)2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/geometry/debug_font_buffer.cpp b/src/geometry/debug_font_buffer.cpp
index 3c858cf60d..6c233f88df 100644
--- a/src/geometry/debug_font_buffer.cpp
+++ b/src/geometry/debug_font_buffer.cpp
@@ -3,7 +3,7 @@
#include <cmath>
#include <cstring>
-#include "debug_font.cpp"
+#include "debug_font_data.hpp"
using namespace mbgl;
diff --git a/src/geometry/debug_font.cpp b/src/geometry/debug_font_data.hpp
index 7e69246fdb..26c54cb480 100644
--- a/src/geometry/debug_font.cpp
+++ b/src/geometry/debug_font_data.hpp
@@ -1,3 +1,5 @@
+// This is an implementation file, so omit include guards.
+
#include <cstdint>
#include <map>