forked from qt-creator/qt-creator
CmakePM: Fix compile for gcc4.9
Change-Id: Iecd2dc6df45199de049b02f24b1d1961b296ee2d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
4749a919a6
commit
8f6a560ed7
@@ -731,7 +731,7 @@ ServerModeReader::addCMakeLists(CMakeProjectNode *root, const QList<FileNode *>
|
||||
if (cmakeDirs.contains(fp)) {
|
||||
auto fn = std::make_unique<CMakeListsNode>(fp);
|
||||
cmakeListsNodes.insert(fp, fn.get());
|
||||
return fn;
|
||||
return std::move(fn);
|
||||
}
|
||||
|
||||
return std::make_unique<FolderNode>(fp);
|
||||
|
Reference in New Issue
Block a user