mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-30 03:34:17 +00:00
Alpha version 1.2.25: Fix build for Xcode.
This commit is contained in:
parent
ad12d6cc46
commit
8edf4c8711
@ -190,7 +190,7 @@ public:
|
||||
_checked[edgeIndex] = true;
|
||||
return;
|
||||
} else {
|
||||
_checked = { false, false };
|
||||
_checked = { { false, false } };
|
||||
}
|
||||
}
|
||||
while (true) {
|
||||
@ -207,9 +207,9 @@ public:
|
||||
}
|
||||
}
|
||||
if (_position == kInvalidPosition) {
|
||||
_checked = { true, true };
|
||||
_checked = { { true, true } };
|
||||
} else {
|
||||
_checked = { false, false };
|
||||
_checked = { { false, false } };
|
||||
_checked[edgeIndex] = true;
|
||||
}
|
||||
}
|
||||
@ -217,7 +217,7 @@ public:
|
||||
private:
|
||||
int _offset = 0;
|
||||
int _position = -1;
|
||||
std::array<bool, 2> _checked = { false, false };
|
||||
std::array<bool, 2> _checked = { { false, false } };
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user