diff --git a/cql3/values.hh b/cql3/values.hh index 495f77d492..d9410520d0 100644 --- a/cql3/values.hh +++ b/cql3/values.hh @@ -169,6 +169,11 @@ public: const bytes& operator*() const { return std::get(_data); } + bytes&& extract_value() && { + auto b = std::get_if(&_data); + assert(b); + return std::move(*b); + } raw_value_view to_view() const; };