From f577c1564efc883d536eb844e78625efd7052b47 Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 31 Mar 2024 04:10:28 +0300 Subject: [PATCH] Fix GCC compilation error. --- td/telegram/ContactsManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/ContactsManager.cpp b/td/telegram/ContactsManager.cpp index c090e6d42..66f272009 100644 --- a/td/telegram/ContactsManager.cpp +++ b/td/telegram/ContactsManager.cpp @@ -16281,7 +16281,7 @@ bool ContactsManager::get_user_has_unread_stories(const User *u) { td_api::object_ptr ContactsManager::get_update_contact_close_birthdays() const { return td_api::make_object( - transform(contact_birthdates_.users_, [this](auto &user) { + transform(contact_birthdates_.users_, [this](const std::pair &user) { return td_api::make_object(get_user_id_object(user.first, "closeBirthdayUser"), user.second.get_birthdate_object()); }));