summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2023-05-15 11:18:04 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-17 07:16:29 +0000
commit67914610f3bbc466aa654c9d63bd1a4edbb90497 (patch)
tree2463da9d8e8df60e29b4cf687acd27035e798170
parent28f09f3748129e0b95153dce321748cc13eb76eb (diff)
Fix "redundant move in initialization" warning
Moving a constant reference makes no sense. Change-Id: I1be8d8dd787592be528e1e5d08593595c4888ac1 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit be1c3bb212a68f08bcab2af787cc9396e82d5b6e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/core/file_system_access/file_system_access_permission_request_controller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_system_access/file_system_access_permission_request_controller.h b/src/core/file_system_access/file_system_access_permission_request_controller.h
index f1b446de6..e659f81a7 100644
--- a/src/core/file_system_access/file_system_access_permission_request_controller.h
+++ b/src/core/file_system_access/file_system_access_permission_request_controller.h
@@ -17,7 +17,7 @@ class FileSystemAccessPermissionRequestController : public RequestController
public:
FileSystemAccessPermissionRequestController(const QUrl &origin, const QUrl &filePath,
HandleType handleType, AccessFlags accessType)
- : RequestController(std::move(origin))
+ : RequestController(origin)
, m_filePath(filePath)
, m_handleType(handleType)
, m_accessType(accessType)