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 11:45:40 +0300
commitfb9a8b7766fd5233c7ce1b4ae8c907a6c66e53d1 (patch)
tree9b5879968d9653a39c203ea868d2f1262cce8919
parentc35814914a784f532166d1bdd2068dc1bad48dcf (diff)
downloadqtlocation-mapboxgl-fb9a8b7766fd5233c7ce1b4ae8c907a6c66e53d1.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;
};