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 /include/mbgl/util | |
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 'include/mbgl/util')
-rw-r--r-- | include/mbgl/util/chrono.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/util/geo.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/util/chrono.hpp b/include/mbgl/util/chrono.hpp index 723cd131e3..4de3c2d3a2 100644 --- a/include/mbgl/util/chrono.hpp +++ b/include/mbgl/util/chrono.hpp @@ -30,7 +30,7 @@ std::string iso8601(Timestamp); Timestamp parseTimestamp(const char *); -Timestamp parseTimestamp(const int32_t timestamp); +Timestamp parseTimestamp(int32_t timestamp); // C++17 polyfill template <class Rep, class Period, class = std::enable_if_t< diff --git a/include/mbgl/util/geo.hpp b/include/mbgl/util/geo.hpp index 9e1ecfff91..58e5c834ab 100644 --- a/include/mbgl/util/geo.hpp +++ b/include/mbgl/util/geo.hpp @@ -161,7 +161,7 @@ public: bool contains(const LatLng& point, LatLng::WrapMode wrap = LatLng::Unwrapped) const; bool contains(const LatLngBounds& area, LatLng::WrapMode wrap = LatLng::Unwrapped) const; - bool intersects(const LatLngBounds area, LatLng::WrapMode wrap = LatLng::Unwrapped) const; + bool intersects(LatLngBounds area, LatLng::WrapMode wrap = LatLng::Unwrapped) const; private: LatLng sw; |