From e7f5a379c614bc541e27c8e24a134f23e564c645 Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Mon, 3 Jul 2017 12:44:02 +0200 Subject: [PATCH] Clang: Workaround to fix compile for emplace Change-Id: Ic99f67819461eb682e531c578652336b6e2ada8d Reviewed-by: hjk --- src/libs/clangbackendipc/sourcefilepathcontainerbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/clangbackendipc/sourcefilepathcontainerbase.h b/src/libs/clangbackendipc/sourcefilepathcontainerbase.h index ec5b78e9a7b..ebf717f15e6 100644 --- a/src/libs/clangbackendipc/sourcefilepathcontainerbase.h +++ b/src/libs/clangbackendipc/sourcefilepathcontainerbase.h @@ -45,7 +45,7 @@ public: void insertFilePath(uint fileId, Utils::PathString &&filePath) { if (m_filePathHash.find(fileId) == m_filePathHash.end()) - m_filePathHash.emplace(fileId, std::move(filePath)); + m_filePathHash.emplace(fileId, FilePath(std::move(filePath))); } void reserve(std::size_t size)