diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-12-13 12:03:51 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2021-12-15 18:36:00 +0000 |
commit | 758a830f7ef23ebea542bc6dad4490b29e22bab8 (patch) | |
tree | 84211dc469328fa6118f859638e04f9e8d974ef8 /src/corelib/io | |
parent | 63a35898f4990963fe91acd565df49111a281fa4 (diff) |
QRingBuffer: overload append() for rvalues
The majority of append() callers in QtBase pass rvalues, so overload
append() to avoid the need for manipulating QBA's atomic ref counts.
Also adjust a caller that could pass by rvalue, but didn't, to do so.
Pick-to: 6.3
Change-Id: I3d9e60b0d04ef837bfdc526e1f0f691a151006f9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions