summaryrefslogtreecommitdiff
path: root/src/mbgl/text
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-05-18 14:30:20 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-05-18 16:57:12 +0200
commiteae2c715f1ead523de2984cde8708627bfc3f180 (patch)
tree615be92eaa9a651343792b23c881f9afaa09512a /src/mbgl/text
parent5d7e54a815715458ee021ba4c4f5f3135876919b (diff)
downloadqtlocation-mapboxgl-eae2c715f1ead523de2984cde8708627bfc3f180.tar.gz
[core] add error for non-virtual destructor deletes + add virtual dtors
Diffstat (limited to 'src/mbgl/text')
-rw-r--r--src/mbgl/text/glyph_atlas.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/text/glyph_atlas.hpp b/src/mbgl/text/glyph_atlas.hpp
index 8a672afe6e..cd6f57d57f 100644
--- a/src/mbgl/text/glyph_atlas.hpp
+++ b/src/mbgl/text/glyph_atlas.hpp
@@ -29,6 +29,7 @@ class Context;
class GlyphRequestor {
public:
+ virtual ~GlyphRequestor() = default;
virtual void onGlyphsAvailable(GlyphPositionMap) = 0;
};