From e7d20ea900fdf7c7d100effd2d52ebee2d730688 Mon Sep 17 00:00:00 2001 From: Duarte Nunes Date: Mon, 23 Jan 2017 18:12:51 +0100 Subject: [PATCH] range_tombstone_list: Add apply() convenience overload Signed-off-by: Duarte Nunes --- range_tombstone_list.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/range_tombstone_list.hh b/range_tombstone_list.hh index db8a9272b2..e2d03c8237 100644 --- a/range_tombstone_list.hh +++ b/range_tombstone_list.hh @@ -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); }