diff options
| author | levlam <levlam@telegram.org> | 2026-05-16 20:58:11 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2026-05-16 20:58:11 +0300 |
| commit | 156ce4c37a5e36c7bbee86ae177240b2212e1082 (patch) | |
| tree | 56c5278c85456b19e69e9edf184d6a8619a48e9e /td/telegram/NotificationManager.cpp | |
| parent | 89ebded9571b7bb589ec1bd05e585fffa4c580e2 (diff) | |
Workaround GCC 10.2.1 Segmentation fault.
Diffstat (limited to 'td/telegram/NotificationManager.cpp')
| -rw-r--r-- | td/telegram/NotificationManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 5e7e168c1..c037d9ede 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -332,7 +332,8 @@ void NotificationManager::save_announcement_ids() { return; } - auto notification_announcement_ids_string = implode(transform(stored_ids, to_string<int32>)); + auto notification_announcement_ids_string = + implode(transform(stored_ids, [](int32 stored_id) { return to_string(stored_id); })); G()->td_db()->get_binlog_pmc()->set("notification_announcement_ids", notification_announcement_ids_string); } |
