[core] Fix readability-avoid-const-params-in-decls errors in header files
As reported by clang-tidy-8.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user