diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-05-18 12:39:03 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-05-18 16:57:12 +0200 |
commit | 5d7e54a815715458ee021ba4c4f5f3135876919b (patch) | |
tree | 3d0cb2bec561a5793efac10fa76dbdee33176e99 /src/mbgl/style | |
parent | 77b24bc0d3ddfda494cf1a7ce4090ff3a79324e4 (diff) | |
download | qtlocation-mapboxgl-5d7e54a815715458ee021ba4c4f5f3135876919b.tar.gz |
[core] Make destructor virtual to avoid object splicing during destruction
Diffstat (limited to 'src/mbgl/style')
-rw-r--r-- | src/mbgl/style/sources/geojson_source_impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/style/sources/geojson_source_impl.hpp b/src/mbgl/style/sources/geojson_source_impl.hpp index 192ef653dc..a524bab9f2 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<int16_t> getTile(const CanonicalTileID&) = 0; }; |