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 | dffe00feeade4d65d10deecdc196add14b791c11 (patch) | |
tree | c0b834bf8e6f44e37b5d01af87c044bdf91c7079 /src/mbgl/annotation | |
parent | 2eebd7170aa72168df1d963422d256411fc4f5ef (diff) | |
download | qtlocation-mapboxgl-dffe00feeade4d65d10deecdc196add14b791c11.tar.gz |
[core] Fix readability-avoid-const-params-in-decls errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r-- | src/mbgl/annotation/annotation_tile.hpp | 4 | ||||
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/annotation/annotation_tile.hpp b/src/mbgl/annotation/annotation_tile.hpp index da5fc28cb6..92ddf09f68 100644 --- a/src/mbgl/annotation/annotation_tile.hpp +++ b/src/mbgl/annotation/annotation_tile.hpp @@ -44,10 +44,10 @@ public: std::unique_ptr<GeometryTileFeature> getFeature(std::size_t i) const override; std::string getName() const override; - void addFeature(const AnnotationID, + void addFeature(AnnotationID, FeatureType, GeometryCollection, - std::unordered_map<std::string, std::string> properties = { {} }); + std::unordered_map<std::string, std::string> properties = {{}}); private: std::shared_ptr<AnnotationTileLayerData> layer; diff --git a/src/mbgl/annotation/shape_annotation_impl.hpp b/src/mbgl/annotation/shape_annotation_impl.hpp index 3e28221f7b..64007d4fa1 100644 --- a/src/mbgl/annotation/shape_annotation_impl.hpp +++ b/src/mbgl/annotation/shape_annotation_impl.hpp @@ -17,7 +17,7 @@ class CanonicalTileID; class ShapeAnnotationImpl { public: - ShapeAnnotationImpl(const AnnotationID); + ShapeAnnotationImpl(AnnotationID); virtual ~ShapeAnnotationImpl() = default; virtual void updateStyle(style::Style::Impl&) const = 0; |