diff --git a/range_tombstone_list.hh b/range_tombstone_list.hh index 638c148de1..1e53a22830 100644 --- a/range_tombstone_list.hh +++ b/range_tombstone_list.hh @@ -186,9 +186,8 @@ public: range_tombstone_list difference(const schema& s, const range_tombstone_list& rt_list) const; // Erases the range tombstones for which filter returns true. template + requires std::is_invocable_r_v void erase_where(Pred filter) { - static_assert(std::is_same>::value, - "bad Pred signature"); auto it = begin(); while (it != end()) { if (filter(*it)) {