fix crash
All checks were successful
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 1m42s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m11s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 1m57s

This commit is contained in:
tqcq 2024-03-29 17:34:59 +08:00
parent f3555ec520
commit 6b739ce2f0

View File

@ -71,7 +71,7 @@ Base64::Encode(const uint8_t *ptr, size_t len)
while (write_idx < encoded_length) { result[write_idx++] = '='; }
// return ss.str();
return std::move(result);
return result;
}
StatusOr<std::string>