summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph.hpp
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-05-21 22:46:18 +0300
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-05-24 05:59:07 -0700
commit0333f3fe448e18511060db81f430ef11f0e710df (patch)
tree851c7e41327996e45600aa6b837d3d1529285788 /src/mbgl/text/glyph.hpp
parent5e00a2a764efcab85db63f20d1d97a87f79a6ece (diff)
downloadqtlocation-mapboxgl-0333f3fe448e18511060db81f430ef11f0e710df.tar.gz
[core] Prefer breaking lines at zero width space (ZWSP)
Diffstat (limited to 'src/mbgl/text/glyph.hpp')
-rw-r--r--src/mbgl/text/glyph.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mbgl/text/glyph.hpp b/src/mbgl/text/glyph.hpp
index 7d6415c057..5105528512 100644
--- a/src/mbgl/text/glyph.hpp
+++ b/src/mbgl/text/glyph.hpp
@@ -88,8 +88,6 @@ class Shaping {
float right = 0;
WritingModeType writingMode;
std::size_t lineCount = 0u;
- std::string text = {};
-
explicit operator bool() const { return !positionedGlyphs.empty(); }
};