Remove redundant lambda creation.

This commit is contained in:
levlam 2023-04-02 23:52:36 +03:00
parent 6bc7c38e5f
commit 375a024585

View File

@ -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<int32>));
G()->td_db()->get_binlog_pmc()->set("notification_announcement_ids", notification_announcement_ids_string);
}