diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2024-05-22 09:28:31 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-05-22 14:54:42 +0200 |
| commit | 56cd691805e160d767387176e2f90c3c34666404 (patch) | |
| tree | 50cc57923b21090ef1772e8ec4a8a2fb4e947135 | |
| parent | 5b0284e8ee757536554ccd73e07c79028c754372 (diff) | |
QmlCompiler: Use std::move where possible
Coverity-Id: 460880
Change-Id: Ie84b99581c8426a40630e61914774e875cfff252
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
| -rw-r--r-- | src/qmlcompiler/qqmljsutils_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljsutils_p.h b/src/qmlcompiler/qqmljsutils_p.h index b1a45f9f30..bca4b1df38 100644 --- a/src/qmlcompiler/qqmljsutils_p.h +++ b/src/qmlcompiler/qqmljsutils_p.h @@ -379,7 +379,7 @@ struct Q_QMLCOMPILER_EXPORT QQmlJSUtils { for (QString &path : paths) path = QDir::cleanPath(path); - return paths; + return std::move(paths); } }; |
