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:
Glauber Costa
2016-09-27 13:01:57 -04:00
committed by Glauber Costa
parent 1db245b52d
commit 7b6e8a2526

View File

@@ -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: