2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Fix build with Xcode.

This commit is contained in:
John Preston
2023-01-18 12:00:29 +04:00
parent 554f66f089
commit ea4e2f0952
3 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ private:
ChatAdminRights rights,
std::vector<std::pair<Flag, tr::phrase<>>> phrases) {
auto list = QStringList();
for (const auto [flag, phrase] : phrases) {
for (const auto &[flag, phrase] : phrases) {
if (rights & flag) {
list.push_back(phrase(tr::now));
}