summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-23 11:49:40 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-05-23 18:04:31 +0200
commitb9f23661f88ad1982a913ff78ed39a398b53b7e3 (patch)
treeaa01bf6d8823e7037be867e1ed3f79424917be7a /src/mbgl/text/glyph.hpp
parent7b4f5b86af532ecea9dba4221bcac94f93ba1f01 (diff)
downloadqtlocation-mapboxgl-b9f23661f88ad1982a913ff78ed39a398b53b7e3.tar.gz
[core] move RenderItem and GlyphRange to their own headers
Diffstat (limited to 'src/mbgl/text/glyph.hpp')
-rw-r--r--src/mbgl/text/glyph.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mbgl/text/glyph.hpp b/src/mbgl/text/glyph.hpp
index 62949ee3fd..e4984be868 100644
--- a/src/mbgl/text/glyph.hpp
+++ b/src/mbgl/text/glyph.hpp
@@ -1,18 +1,16 @@
#ifndef MBGL_TEXT_GLYPH
#define MBGL_TEXT_GLYPH
+#include <mbgl/text/glyph_range.hpp>
#include <mbgl/util/rect.hpp>
#include <cstdint>
-#include <utility>
#include <vector>
#include <string>
#include <map>
namespace mbgl {
-typedef std::pair<uint16_t, uint16_t> GlyphRange;
-
// Note: this only works for the BMP
GlyphRange getGlyphRange(char32_t glyph);