diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-03-21 12:42:44 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-03-21 20:41:23 +0100 |
| commit | cbf8fc0ac43365f4dd69c64ec770d8f547d772f3 (patch) | |
| tree | 19e04efe5c5ca12c432c6e692a054b2426f4e4c6 /src/plugins/sqldrivers/ibase/qsql_ibase.cpp | |
| parent | c924c05ae226524755b1701a5a40e436a08ca2e6 (diff) | |
Fix warning in tst_qfuture
Explicitly move the argument into the return value to silence:
qfuture_impl.h:153:20: warning: local variable 'arg' will be copied
despite being returned by name [-Wreturn-std-move]
return arg;
^~~
[...]
qfuture_impl.h:153:20: note: call 'std::move' explicitly to avoid copying
Change-Id: I49fab7c31efb7d809182c8d56e6a5ed8f05a5622
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/ibase/qsql_ibase.cpp')
0 files changed, 0 insertions, 0 deletions
