1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Silence -Wpessimizing-move warning

This commit is contained in:
scentini 2020-04-03 09:23:59 +02:00
parent bdcd84e3f3
commit 70bf2d824b

View File

@ -93,7 +93,7 @@ Error DWARFDebugMacro::parse(DataExtractor StringExtractor,
if (IsMacro) {
auto Err = M->Header.parseMacroHeader(Data, &Offset);
if (Err)
return std::move(Err);
return Err;
}
}
// A macro list entry consists of: