mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
Silence a clang warning:
warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
This commit is contained in:
parent
c33b2e0100
commit
c4e909c29e
@ -74,7 +74,7 @@ namespace Resource
|
||||
std::string line;
|
||||
while ( getline (*textKeysFile, line) )
|
||||
{
|
||||
mTarget.mTextKeys.emplace(parseTimeSignature(line), std::move(parseTextKey(line)));
|
||||
mTarget.mTextKeys.emplace(parseTimeSignature(line), parseTextKey(line));
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
|
Loading…
Reference in New Issue
Block a user