Skip to content

Commit 593be0b

Browse files
committed
resolve openmp build bot error
1 parent 78d5ad8 commit 593be0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Object/OffloadBundle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ OffloadBundleFatBin::create(MemoryBufferRef Buf, uint64_t SectionOffset,
128128
if (Err)
129129
return Err;
130130

131-
return TheBundle;
131+
return std::move(TheBundle);
132132
}
133133

134134
Error OffloadBundleFatBin::extractBundle(const ObjectFile &Source) {

0 commit comments

Comments
 (0)