Fix compilation error.

GitOrigin-RevId: ce8f9f5c1a28e69b716fa1b2427a1337436840e0
This commit is contained in:
levlam 2020-01-11 03:51:44 +03:00
parent 13dce473eb
commit e09a295f7c

View File

@ -142,7 +142,7 @@ static Result<T> base64_decode_impl(Slice base64) {
T result = create_empty<T>(base64.size() / 4 * 3 + ((base64.size() & 3) + 1) / 2); T result = create_empty<T>(base64.size() / 4 * 3 + ((base64.size() & 3) + 1) / 2);
TRY_STATUS(do_base64_decode_impl(base64, get_character_table<is_url>(), as_mutable_slice(result).begin())); TRY_STATUS(do_base64_decode_impl(base64, get_character_table<is_url>(), as_mutable_slice(result).begin()));
return result; return std::move(result);
} }
Result<string> base64_decode(Slice base64) { Result<string> base64_decode(Slice base64) {