From eae2c715f1ead523de2984cde8708627bfc3f180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 18 May 2017 14:30:20 +0200 Subject: [core] add error for non-virtual destructor deletes + add virtual dtors --- src/mbgl/text/glyph_atlas.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mbgl/text') 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; }; -- cgit v1.2.1