[pp-trace] Try fixing MSVC C2248 after rCTE356849

llvm-svn: 356887
This commit is contained in:
Fangrui Song 2019-03-25 11:40:11 +00:00
parent a034a64f84
commit 62590fee89
1 changed files with 2 additions and 2 deletions

View File

@ -150,8 +150,8 @@ int main(int argc, const char **argv) {
if (EC)
error(EC.message());
if (Error Err = Exec->get()->execute(
llvm::make_unique<PPTraceFrontendActionFactory>(Filters, Out.os())))
if (auto Err = Exec->get()->execute(
llvm::make_unique<PPTraceFrontendActionFactory>(Filters, Out.os())))
error(toString(std::move(Err)));
Out.keep();
return 0;