From 9bbb1b721e56e07666f6b0819594c4bfda84435e Mon Sep 17 00:00:00 2001 From: zmiao Date: Sat, 25 Apr 2020 01:12:45 +0300 Subject: [core] Distance expression: remove unit argument (#16434) --- include/mbgl/style/expression/distance.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/mbgl/style/expression/distance.hpp') 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 -- cgit v1.2.1