summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qringbuffer_p.h
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2015-08-22 13:43:13 +0300
committerAlex Trotsenko <alex1973tr@gmail.com>2016-01-12 18:03:24 +0000
commit771220ebc83d8cfb5468caec2d6edc40445f689b (patch)
tree2f35261bed82095621a2ee840ffc84c8e871b353 /src/corelib/tools/qringbuffer_p.h
parent7d257aab8175f3d4fd3b838d4f47457a8d868885 (diff)
Allow to use QRingBuffer in containers
Make a private member mutable to enable default assignment operator. Change-Id: I1216875c186ed800e07c6b41a5bae18c3b71b2fa Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools/qringbuffer_p.h')
-rw-r--r--src/corelib/tools/qringbuffer_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qringbuffer_p.h b/src/corelib/tools/qringbuffer_p.h
index 96c4f9acb6..a03007f606 100644
--- a/src/corelib/tools/qringbuffer_p.h
+++ b/src/corelib/tools/qringbuffer_p.h
@@ -135,7 +135,7 @@ private:
QList<QByteArray> buffers;
int head, tail;
int tailBuffer; // always buffers.size() - 1
- const int basicBlockSize;
+ int basicBlockSize;
qint64 bufferSize;
};