Clang: Workaround to fix compile for emplace

Change-Id: Ic99f67819461eb682e531c578652336b6e2ada8d
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marco Bubke
2017-07-03 12:44:02 +02:00
parent 277b331389
commit e7f5a379c6

View File

@@ -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)