uint32_t Code = MaybeCode.get();
Expected<uint32_t> MaybeNumElts = ReadVBR(6);
if (!MaybeNumElts)
- return error(("Failed to read size: " +
- toString(std::move(MaybeNumElts.takeError())))
- .c_str());
+ return error(
+ ("Failed to read size: " + toString(MaybeNumElts.takeError()))
+ .c_str());
uint32_t NumElts = MaybeNumElts.get();
if (!isSizePlausible(NumElts))
return error("Size is not plausible");
// Array case. Read the number of elements as a vbr6.
Expected<uint32_t> MaybeNumElts = ReadVBR(6);
if (!MaybeNumElts)
- return error(("Failed to read size: " +
- toString(std::move(MaybeNumElts.takeError())))
- .c_str());
+ return error(
+ ("Failed to read size: " + toString(MaybeNumElts.takeError()))
+ .c_str());
uint32_t NumElts = MaybeNumElts.get();
if (!isSizePlausible(NumElts))
return error("Size is not plausible");