mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
streamed_mutation: make _buffer private
It is currently protected, but now all users go through push_mutation_fragment(). So we can safely move its visibility to guarantee that it stays that way. Signed-off-by: Glauber Costa <glauber@scylladb.com>
This commit is contained in:
committed by
Glauber Costa
parent
1db245b52d
commit
7b6e8a2526
@@ -399,6 +399,7 @@ public:
|
||||
// supposed to fill a buffer with mutation fragments until is_buffer_full()
|
||||
// or end of stream is encountered.
|
||||
class impl {
|
||||
circular_buffer<mutation_fragment> _buffer;
|
||||
protected:
|
||||
// FIXME: use size in bytes of the mutation_fragments
|
||||
static constexpr size_t buffer_size = 16;
|
||||
@@ -408,7 +409,6 @@ public:
|
||||
tombstone _partition_tombstone;
|
||||
|
||||
bool _end_of_stream = false;
|
||||
circular_buffer<mutation_fragment> _buffer;
|
||||
|
||||
friend class streamed_mutation;
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user