From fa3117e41ed4862541a94b4df50710490247fe7a Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 11 Dec 2018 17:21:09 +0400 Subject: [PATCH] Version 1.5.1: Fix build for Xcode. --- Telegram/SourceFiles/codegen/emoji/data.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }