From 10c52724975d9fa8f6955463b5456e4e14f415b9 Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 23 Mar 2023 20:18:32 +0300 Subject: [PATCH] Fix warning. --- telegram-bot-api/WebhookActor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram-bot-api/WebhookActor.cpp b/telegram-bot-api/WebhookActor.cpp index 9c67bb3..2033a68 100644 --- a/telegram-bot-api/WebhookActor.cpp +++ b/telegram-bot-api/WebhookActor.cpp @@ -207,7 +207,7 @@ td::Status WebhookActor::create_webhook_error(td::Slice error_message, td::Statu on_webhook_error(error_message); } on_error(std::move(result)); - return std::move(error); + return error; } td::Result WebhookActor::create_ssl_stream() {