Skip to content

Commit

Permalink
Fix build: llvm::Error needs to be moved for implicit conversion to E…
Browse files Browse the repository at this point in the history
…xpected.

I don't know why the premerge setup didn't fail on this, but many
builbots are broken right now.
  • Loading branch information
joker-eph committed Mar 7, 2024
1 parent 10edabb commit 5d33f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ class LLJITBuilderSetters {

if (impl().NotifyCreated)
if (Error Err = impl().NotifyCreated(*J))
return Err;
return std::move(Err);

return std::move(J);
}
Expand Down

0 comments on commit 5d33f71

Please sign in to comment.