From 6b739ce2f0112ec96c7ddd61e8722195f12d2c5f Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 29 Mar 2024 17:34:59 +0800 Subject: [PATCH] fix crash --- src/strings/base64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings/base64.cc b/src/strings/base64.cc index d84b476..6a32e9e 100644 --- a/src/strings/base64.cc +++ b/src/strings/base64.cc @@ -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