diff options
| author | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-10-08 12:19:13 +0200 |
|---|---|---|
| committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-10-12 13:51:49 +0200 |
| commit | 306931349296747eeb469e29908e2ab589de89fd (patch) | |
| tree | a9f0fbd57533d556395acf357df465b4daf91125 /src/concurrent/qtconcurrentmap.cpp | |
| parent | 4a981b9bdb6d512ac077ecdeaf478fc9a5792d17 (diff) | |
Eliminate the extra copy in QtConcurrent's blocking methods
Use QFuture::takeResult() instead of QFuture::result() for returning the
resulting sequence from the blocking methods of QtConcurrent.
Change-Id: I0b623ee1ad8bda6789f329dcd63a46acda924539
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentmap.cpp')
0 files changed, 0 insertions, 0 deletions
