mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Fix build error with clang and gcc.
llvm-svn: 304589
This commit is contained in:
parent
ea31ec8205
commit
00898ddc78
@ -261,7 +261,7 @@ std::unique_ptr<DebugSubsection> YAMLLinesSubsection::toCodeViewSubsection(
|
||||
}
|
||||
}
|
||||
}
|
||||
return Result;
|
||||
return llvm::cast<DebugSubsection>(std::move(Result));
|
||||
}
|
||||
|
||||
std::unique_ptr<DebugSubsection>
|
||||
@ -282,7 +282,7 @@ YAMLInlineeLinesSubsection::toCodeViewSubsection(
|
||||
Result->addExtraFile(EF);
|
||||
}
|
||||
}
|
||||
return Result;
|
||||
return llvm::cast<DebugSubsection>(std::move(Result));
|
||||
}
|
||||
|
||||
static Expected<SourceFileChecksumEntry>
|
||||
|
Loading…
Reference in New Issue
Block a user