diff --git a/tdutils/td/utils/base64.cpp b/tdutils/td/utils/base64.cpp index 0085d0e8..7ae1045a 100644 --- a/tdutils/td/utils/base64.cpp +++ b/tdutils/td/utils/base64.cpp @@ -142,7 +142,7 @@ static Result base64_decode_impl(Slice base64) { T result = create_empty(base64.size() / 4 * 3 + ((base64.size() & 3) + 1) / 2); TRY_STATUS(do_base64_decode_impl(base64, get_character_table(), as_mutable_slice(result).begin())); - return result; + return std::move(result); } Result base64_decode(Slice base64) {