range_tombstone_list: Add apply() convenience overload
Signed-off-by: Duarte Nunes <duarte@scylladb.com>
This commit is contained in:
@@ -119,6 +119,9 @@ public:
|
||||
auto end() const {
|
||||
return _tombstones.end();
|
||||
}
|
||||
void apply(const schema& s, const bound_view& start_bound, const bound_view& end_bound, tombstone tomb) {
|
||||
apply(s, start_bound.prefix, start_bound.kind, end_bound.prefix, end_bound.kind, std::move(tomb));
|
||||
}
|
||||
void apply(const schema& s, const range_tombstone& rt) {
|
||||
apply(s, rt.start, rt.start_kind, rt.end, rt.end_kind, rt.tomb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user