From e09a295f7cf349ad80b61bed2147fb9fab74f4e6 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 11 Jan 2020 03:51:44 +0300 Subject: [PATCH] Fix compilation error. GitOrigin-RevId: ce8f9f5c1a28e69b716fa1b2427a1337436840e0 --- tdutils/td/utils/base64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {