Skip to content

Commit 53bb183

Browse files
committed
Orc: Remove redundant std::move
1 parent b7ce85a commit 53bb183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ class LegacyCompileOnDemandLayer {
406406
if (auto Sym = LD.findSymbol(BaseLayer, MangledName, false))
407407
continue;
408408
else if (auto Err = Sym.takeError())
409-
return std::move(Err);
409+
return Err;
410410
}
411411

412412
// Record all functions defined by this module.

0 commit comments

Comments
 (0)