diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2024-03-07 15:19:27 -0800 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2024-03-07 15:19:27 -0800 |
commit | 5d33f7176b002da244823ca0e6b524777890dd9d (patch) | |
tree | 80d4da148446eceb77d8b3193643e71d46797f60 | |
parent | 10edabbcf331fdd53d27c5195de1b692a0063721 (diff) | |
download | llvm-5d33f7176b002da244823ca0e6b524777890dd9d.zip llvm-5d33f7176b002da244823ca0e6b524777890dd9d.tar.gz llvm-5d33f7176b002da244823ca0e6b524777890dd9d.tar.bz2 |
Fix build: llvm::Error needs to be moved for implicit conversion to Expected.
I don't know why the premerge setup didn't fail on this, but many
builbots are broken right now.
-rw-r--r-- | llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h b/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h index d5682fc..810a38f 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h @@ -490,7 +490,7 @@ public: if (impl().NotifyCreated) if (Error Err = impl().NotifyCreated(*J)) - return Err; + return std::move(Err); return std::move(J); } |