summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qringbuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qringbuffer.cpp')
-rw-r--r--src/corelib/tools/qringbuffer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/tools/qringbuffer.cpp b/src/corelib/tools/qringbuffer.cpp
index 72c56a20f6b..96ba5c2b44c 100644
--- a/src/corelib/tools/qringbuffer.cpp
+++ b/src/corelib/tools/qringbuffer.cpp
@@ -82,7 +82,6 @@ QByteArray QRingChunk::toByteArray() &&
headOffset = 0;
}
- chunk.reserve(0); // avoid that resizing needlessly reallocates
chunk.resize(tailOffset);
}