diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-07-03 01:58:26 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-08-06 19:15:39 +0200 |
commit | 4fc539bd846f08c5e448810e263f3850593b8dc2 (patch) | |
tree | 29f2ce5a0b609a389b9fc4935560a15a94e20ec3 /tests/benchmarks/corelib | |
parent | 14090760a87f23509b7bb5ad846537c766cb44a5 (diff) |
QMap: fix insert() rvalue overloads
Receiving an rvalue still requires to check whether the parameter
is detached, otherwise we can't steal its backing std::map.
Change-Id: Ie88dbf39fd777112ad7bb20a46d5c2d65be8eb3d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/benchmarks/corelib')
0 files changed, 0 insertions, 0 deletions