forked from qt-creator/qt-creator
Clang: Workaround to fix compile for emplace
Change-Id: Ic99f67819461eb682e531c578652336b6e2ada8d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
|||||||
void insertFilePath(uint fileId, Utils::PathString &&filePath)
|
void insertFilePath(uint fileId, Utils::PathString &&filePath)
|
||||||
{
|
{
|
||||||
if (m_filePathHash.find(fileId) == m_filePathHash.end())
|
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)
|
void reserve(std::size_t size)
|
||||||
|
Reference in New Issue
Block a user