summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-03-31 16:27:10 -0700
committerAnsis Brammanis <brammanis@gmail.com>2015-04-01 16:11:48 -0700
commit128ed1f26fa2688a10f3738222da033337c7b0e5 (patch)
tree689517e79a37ef370a11df672bdc251cb3e9bb5b /src/mbgl/text/glyph.hpp
parent9309f59de3e156432087b55f0f7e3ebc026b78e8 (diff)
downloadqtlocation-mapboxgl-128ed1f26fa2688a10f3738222da033337c7b0e5.tar.gz
start porting symbol bucket changes
Diffstat (limited to 'src/mbgl/text/glyph.hpp')
-rw-r--r--src/mbgl/text/glyph.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/text/glyph.hpp b/src/mbgl/text/glyph.hpp
index eee7572af9..254cc212ec 100644
--- a/src/mbgl/text/glyph.hpp
+++ b/src/mbgl/text/glyph.hpp
@@ -64,6 +64,8 @@ class Shaping {
int32_t bottom;
int32_t left;
int32_t right;
+
+ operator bool() const { return positionedGlyphs.size(); }
};
}