diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-20 12:38:09 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-23 12:09:09 +0200 |
commit | d15b9c1f9c1afa29175ba2e398adc680e66147e6 (patch) | |
tree | 6bf426ae77d7386a6bbdee30444974bbc5dd76d0 /src/mbgl/renderer/sources/render_geojson_source.cpp | |
parent | 37802eec36aae3cb84c7f73a48652d9959489243 (diff) | |
download | qtlocation-mapboxgl-d15b9c1f9c1afa29175ba2e398adc680e66147e6.tar.gz |
[core] Fix performance-unnecessary-value-param errors
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/renderer/sources/render_geojson_source.cpp')
-rw-r--r-- | src/mbgl/renderer/sources/render_geojson_source.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/renderer/sources/render_geojson_source.cpp b/src/mbgl/renderer/sources/render_geojson_source.cpp index 45a91e3fa0..490abe8a6b 100644 --- a/src/mbgl/renderer/sources/render_geojson_source.cpp +++ b/src/mbgl/renderer/sources/render_geojson_source.cpp @@ -25,12 +25,14 @@ using FeatureExtensionGetterPtr = FeatureExtensionValue (*)(std::shared_ptr<styl std::uint32_t, const optional<std::map<std::string, Value>>&); +// NOLINTNEXTLINE(performance-unnecessary-value-param) FeatureExtensionValue getChildren(std::shared_ptr<style::GeoJSONData> clusterData, std::uint32_t clusterID, const optional<std::map<std::string, Value>>&) { return clusterData->getChildren(clusterID); } +// NOLINTNEXTLINE(performance-unnecessary-value-param) FeatureExtensionValue getLeaves(std::shared_ptr<style::GeoJSONData> clusterData, std::uint32_t clusterID, const optional<std::map<std::string, Value>>& args) { @@ -51,6 +53,7 @@ FeatureExtensionValue getLeaves(std::shared_ptr<style::GeoJSONData> clusterData, return clusterData->getLeaves(clusterID); } +// NOLINTNEXTLINE(performance-unnecessary-value-param) FeatureExtensionValue getClusterExpansionZoom(std::shared_ptr<style::GeoJSONData> clusterData, std::uint32_t clusterID, const optional<std::map<std::string, Value>>&) { |