diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:30:35 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-04-17 13:36:50 +0300 |
commit | c4cb026fa4d30b7d81c4a23613dc5d772b1708d0 (patch) | |
tree | 597f8f83e74942ac887032c1fb1efb46687b4a33 /src/mbgl/style | |
parent | dffe00feeade4d65d10deecdc196add14b791c11 (diff) | |
download | qtlocation-mapboxgl-c4cb026fa4d30b7d81c4a23613dc5d772b1708d0.tar.gz |
[core] Fix readability-redundant-member-init errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/style')
-rw-r--r-- | src/mbgl/style/sources/geojson_source_impl.hpp | 2 | ||||
-rw-r--r-- | src/mbgl/style/sources/image_source_impl.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/sources/geojson_source_impl.hpp b/src/mbgl/style/sources/geojson_source_impl.hpp index 3b106e3c00..fd23ebdbe1 100644 --- a/src/mbgl/style/sources/geojson_source_impl.hpp +++ b/src/mbgl/style/sources/geojson_source_impl.hpp @@ -11,7 +11,7 @@ class CanonicalTileID; namespace style { -class GeoJSONSource::Impl : public Source::Impl { +class GeoJSONSource::Impl final : public Source::Impl { public: Impl(std::string id, Immutable<GeoJSONOptions>); Impl(const GeoJSONSource::Impl&, std::shared_ptr<GeoJSONData>); diff --git a/src/mbgl/style/sources/image_source_impl.hpp b/src/mbgl/style/sources/image_source_impl.hpp index d784464709..16ddcfda71 100644 --- a/src/mbgl/style/sources/image_source_impl.hpp +++ b/src/mbgl/style/sources/image_source_impl.hpp @@ -9,7 +9,7 @@ namespace mbgl { namespace style { -class ImageSource::Impl : public Source::Impl { +class ImageSource::Impl final : public Source::Impl { public: Impl(std::string id, std::array<LatLng, 4> coords); Impl(const Impl& other, std::array<LatLng, 4> coords); |