Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] Remove unused PaintPropertyBinders::constants()
Browse files Browse the repository at this point in the history
  • Loading branch information
pozdnyakov committed Jun 27, 2019
1 parent 9c2eac5 commit 0dae679
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/mbgl/renderer/paint_property_binder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,18 +544,6 @@ class PaintPropertyBinders<TypeList<Ps...>> {
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;
};
Expand Down

0 comments on commit 0dae679

Please sign in to comment.