diff options
author | zmiao <miao.zhao@mapbox.com> | 2020-04-25 01:12:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 15:12:45 -0700 |
commit | 9bbb1b721e56e07666f6b0819594c4bfda84435e (patch) | |
tree | 66ca511509874d22f61eecd41eeb098dc420d59a /include/mbgl/style | |
parent | 0ccc9f26899125889f51ad006ce1cdf65d87b069 (diff) | |
download | qtlocation-mapboxgl-9bbb1b721e56e07666f6b0819594c4bfda84435e.tar.gz |
[core] Distance expression: remove unit argument (#16434)
Diffstat (limited to 'include/mbgl/style')
-rw-r--r-- | include/mbgl/style/expression/distance.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/style/expression/distance.hpp b/include/mbgl/style/expression/distance.hpp index e034b9452f..481162be03 100644 --- a/include/mbgl/style/expression/distance.hpp +++ b/include/mbgl/style/expression/distance.hpp @@ -10,7 +10,7 @@ namespace expression { class Distance final : public Expression { public: - Distance(GeoJSON geoJSONSource_, Feature::geometry_type geometries_, mapbox::cheap_ruler::CheapRuler::Unit unit_); + Distance(GeoJSON geoJSONSource_, Feature::geometry_type geometries_); ~Distance() override; @@ -30,7 +30,6 @@ public: private: GeoJSON geoJSONSource; Feature::geometry_type geometries; - mapbox::cheap_ruler::CheapRuler::Unit unit; }; } // namespace expression |