summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-06-27 18:06:03 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-07-02 16:05:09 +0300
commit55da0b0fe70ea067e831f8424b8696942a05c9c2 (patch)
treea9925811181bd17e8b87c69d6f0f6179f90c37c5
parent0687460033a12a6538001f0bc36dafd594ec0edf (diff)
downloadqtlocation-mapboxgl-55da0b0fe70ea067e831f8424b8696942a05c9c2.tar.gz
[core] Remove unused PaintPropertyBinders::constants()
-rw-r--r--src/mbgl/renderer/paint_property_binder.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mbgl/renderer/paint_property_binder.hpp b/src/mbgl/renderer/paint_property_binder.hpp
index 63d821f964..cd6b259e88 100644
--- a/src/mbgl/renderer/paint_property_binder.hpp
+++ b/src/mbgl/renderer/paint_property_binder.hpp
@@ -544,18 +544,6 @@ public:
return binders.template get<P>()->statistics;
}
- using Bitset = std::bitset<sizeof...(Ps)>;
-
- template <class EvaluatedProperties>
- static Bitset constants(const EvaluatedProperties& currentProperties) {
- Bitset result;
- util::ignore({
- result.set(TypeIndex<Ps, Ps...>::value,
- currentProperties.template get<Ps>().isConstant())...
- });
- return result;
- }
-
private:
Binders binders;
};