summaryrefslogtreecommitdiff
path: root/src/mbgl/text/get_anchors.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-04-17 13:36:50 +0300
commitdffe00feeade4d65d10deecdc196add14b791c11 (patch)
treec0b834bf8e6f44e37b5d01af87c044bdf91c7079 /src/mbgl/text/get_anchors.hpp
parent2eebd7170aa72168df1d963422d256411fc4f5ef (diff)
downloadqtlocation-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/text/get_anchors.hpp')
-rw-r--r--src/mbgl/text/get_anchors.hpp31
1 files changed, 15 insertions, 16 deletions
diff --git a/src/mbgl/text/get_anchors.hpp b/src/mbgl/text/get_anchors.hpp
index 8fd22051a4..19938b666b 100644
--- a/src/mbgl/text/get_anchors.hpp
+++ b/src/mbgl/text/get_anchors.hpp
@@ -8,23 +8,22 @@ namespace mbgl {
Anchors getAnchors(const GeometryCoordinates& line,
float spacing,
- const float maxAngle,
- const float textLeft,
- const float textRight,
- const float iconLeft,
- const float iconRight,
- const float glyphSize,
- const float boxScale,
- const float overscaling);
+ float maxAngle,
+ float textLeft,
+ float textRight,
+ float iconLeft,
+ float iconRight,
+ float glyphSize,
+ float boxScale,
+ float overscaling);
optional<Anchor> getCenterAnchor(const GeometryCoordinates& line,
- const float maxAngle,
- const float textLeft,
- const float textRight,
- const float iconLeft,
- const float iconRight,
- const float glyphSize,
- const float boxScale);
-
+ float maxAngle,
+ float textLeft,
+ float textRight,
+ float iconLeft,
+ float iconRight,
+ float glyphSize,
+ float boxScale);
} // namespace mbgl