diff --git a/Telegram/SourceFiles/codegen/emoji/data.cpp b/Telegram/SourceFiles/codegen/emoji/data.cpp index 0776c55bc0..fe44d5205a 100644 --- a/Telegram/SourceFiles/codegen/emoji/data.cpp +++ b/Telegram/SourceFiles/codegen/emoji/data.cpp @@ -2302,7 +2302,9 @@ bool CheckOldInCurrent(std::set variatedIds) { } } - for (const auto [inputId, gender] : WithoutGenderAliases) { + for (const auto &entry : WithoutGenderAliases) { + const auto &inputId = entry.first; + const auto &gender = entry.second; if (findInMany(categories, inputId)) { continue; }