Skip to content

Commit

Permalink
[pp-trace] Try fixing MSVC C2248 after rCTE356849
Browse files Browse the repository at this point in the history
llvm-svn: 356887
  • Loading branch information
MaskRay committed Mar 25, 2019
1 parent a034a64 commit 62590fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang-tools-extra/pp-trace/PPTrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 62590fe

Please sign in to comment.