From f0b0167640fa6cbd852ec1bed237277ee7c5f06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 18 May 2017 12:39:03 +0200 Subject: [core] Make destructor virtual to avoid object splicing during destruction --- src/mbgl/style/sources/geojson_source_impl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mbgl/style/sources/geojson_source_impl.hpp b/src/mbgl/style/sources/geojson_source_impl.hpp index e8b881d05e..dece1269f8 100644 --- a/src/mbgl/style/sources/geojson_source_impl.hpp +++ b/src/mbgl/style/sources/geojson_source_impl.hpp @@ -13,6 +13,7 @@ namespace style { class GeoJSONData { public: + virtual ~GeoJSONData() = default; virtual mapbox::geometry::feature_collection getTile(const CanonicalTileID&) = 0; }; -- cgit v1.2.1