From 98782fb644ba42e8aed316c10efe371c825cebe9 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 20 Dec 2019 05:07:00 +0300 Subject: [PATCH] Fix warning. GitOrigin-RevId: 8c7d5d5e8a3503d56ba0edc0b303a6ab09baa827 --- td/telegram/ContactsManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/ContactsManager.cpp b/td/telegram/ContactsManager.cpp index e75e92a3..a6ed3358 100644 --- a/td/telegram/ContactsManager.cpp +++ b/td/telegram/ContactsManager.cpp @@ -159,7 +159,7 @@ class AcceptLoginTokenQuery : public Td::ResultHandler { } LOG(DEBUG) << "Receive result for AcceptLoginTokenQuery: " << to_string(result_ptr.ok()); - promise_.set_value(convert_authorization_object(std::move(result_ptr.move_as_ok()))); + promise_.set_value(convert_authorization_object(result_ptr.move_as_ok())); } void on_error(uint64 id, Status status) override {