mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-30 19:46:48 +00:00
mutation_fragment_v1_stream: make consume() methods public
The MutationFragmentConsumerV2 concept checks that these methods
exist. Clang 23 tightened [1] the rules to verify that the methods are
publicly accessible. Make them public so we don't fail the build.
[1] ac3c588739
This commit is contained in:
@@ -14,7 +14,7 @@ class mutation_fragment_v1_stream final {
|
||||
range_tombstone_assembler _rt_assembler;
|
||||
std::optional<clustering_row> _row;
|
||||
|
||||
friend class mutation_fragment_v2; // so it sees our consumer methods
|
||||
public: // consume() methods need to be visible to concepts like MutationFragmentConsumerV2
|
||||
mutation_fragment_opt consume(static_row mf) {
|
||||
return wrap(std::move(mf));
|
||||
}
|
||||
@@ -41,7 +41,7 @@ class mutation_fragment_v1_stream final {
|
||||
_rt_assembler.on_end_of_stream();
|
||||
return wrap(std::move(mf));
|
||||
}
|
||||
|
||||
private:
|
||||
future<mutation_fragment_opt> read_from_underlying() {
|
||||
auto mfp = co_await _reader();
|
||||
if (!mfp) [[unlikely]] {
|
||||
|
||||
Reference in New Issue
Block a user