From 375a024585b687b0f4056d42e1aa1e08615e1886 Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 2 Apr 2023 23:52:36 +0300 Subject: [PATCH] Remove redundant lambda creation. --- td/telegram/NotificationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index e2c226137..dc9261251 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -327,7 +327,7 @@ void NotificationManager::save_announcement_ids() { return; } - auto notification_announcement_ids_string = implode(transform(ids, [](int32 id) { return to_string(id); }), ','); + auto notification_announcement_ids_string = implode(transform(ids, to_string)); G()->td_db()->get_binlog_pmc()->set("notification_announcement_ids", notification_announcement_ids_string); }