forked from qt-creator/qt-creator
CMakePM: clang-tidy fix for 'move-const-arg'
See https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang- tidy/checks/performance/move-const-arg.html Change-Id: Ic20445321286fdcb8b02e1b2cf170e0fe60fd1fd Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -285,8 +285,8 @@ void FileApiReader::endState(const FilePath &replyFilePath, bool restoredFromBac
|
||||
m_projectParts = std::move(value->projectParts);
|
||||
m_rootProjectNode = std::move(value->rootProjectNode);
|
||||
m_ctestPath = std::move(value->ctestPath);
|
||||
m_isMultiConfig = std::move(value->isMultiConfig);
|
||||
m_usesAllCapsTargets = std::move(value->usesAllCapsTargets);
|
||||
m_isMultiConfig = value->isMultiConfig;
|
||||
m_usesAllCapsTargets = value->usesAllCapsTargets;
|
||||
|
||||
if (value->errorMessage.isEmpty()) {
|
||||
emit this->dataAvailable(restoredFromBackup);
|
||||
|
||||
Reference in New Issue
Block a user