Skip to content

Commit 69908e3

Browse files
committed
resolve build error
1 parent 94911f8 commit 69908e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Object/OffloadBundle.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,16 @@ Error OffloadBundleFatBin::readEntries(StringRef Buffer,
9090
StringRef EntryID;
9191

9292
if (Error EC = Reader.readInteger(EntryOffset))
93-
return std::move(EC);
93+
return EC;
9494

9595
if (Error EC = Reader.readInteger(EntrySize))
96-
return std::move(EC);
96+
return EC;
9797

9898
if (Error EC = Reader.readInteger(EntryIDSize))
99-
return std::move(EC);
99+
return EC;
100100

101101
if (Error EC = Reader.readFixedString(EntryID, EntryIDSize))
102-
return std::move(EC);
102+
return EC;
103103

104104
auto Entry = std::make_unique<OffloadBundleEntry>(
105105
EntryOffset + SectionOffset, EntrySize, EntryIDSize, EntryID);

0 commit comments

Comments
 (0)