diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-07-11 15:16:06 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-07-12 20:42:29 +0300 |
commit | 3afbfa2de74d26f1d9099a85cc1b6ed70251666f (patch) | |
tree | bb71b54e4badf6d71932e31fa89e4c7348c7a0cd /src/mbgl/renderer/possibly_evaluated_property_value.hpp | |
parent | f1ac757bd28351fd57113a1e16f6c2e00ab193c1 (diff) | |
download | qtlocation-mapboxgl-3afbfa2de74d26f1d9099a85cc1b6ed70251666f.tar.gz |
[core] GCC 4.9 shadow member warnings
Diffstat (limited to 'src/mbgl/renderer/possibly_evaluated_property_value.hpp')
-rw-r--r-- | src/mbgl/renderer/possibly_evaluated_property_value.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/possibly_evaluated_property_value.hpp b/src/mbgl/renderer/possibly_evaluated_property_value.hpp index 8a5dfbe4ea..e662d5dfb1 100644 --- a/src/mbgl/renderer/possibly_evaluated_property_value.hpp +++ b/src/mbgl/renderer/possibly_evaluated_property_value.hpp @@ -45,7 +45,7 @@ public: template <class Feature> T evaluate(const Feature& feature, float zoom, T defaultValue) const { return this->match( - [&] (const T& constant) { return constant; }, + [&] (const T& constant_) { return constant_; }, [&] (const style::SourceFunction<T>& function) { return function.evaluate(feature, defaultValue); }, |