Fix warning.

GitOrigin-RevId: 8c7d5d5e8a3503d56ba0edc0b303a6ab09baa827
This commit is contained in:
levlam 2019-12-20 05:07:00 +03:00
parent 47c4d42674
commit 98782fb644

View File

@ -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 {