2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Updated Xcode build for using standard library.

Also trying to use g++-6 for travis build.
This commit is contained in:
John Preston
2017-02-21 17:37:53 +03:00
parent ffc557a0f9
commit 755325fef3
24 changed files with 57 additions and 35 deletions

View File

@@ -2217,10 +2217,10 @@ void MainWidget::ui_showPeerHistory(quint64 peerId, qint32 showAtMsgId, Ui::Show
}
_stack.clear();
} else {
for (int i = 0, s = _stack.size(); i < s; ++i) {
for (auto i = 0, s = int(_stack.size()); i < s; ++i) {
if (_stack.at(i)->type() == HistoryStackItem && _stack.at(i)->peer->id == peerId) {
foundInStack = true;
while (_stack.size() > i + 1) {
while (int(_stack.size()) > i + 1) {
clearBotStartToken(_stack.back()->peer);
_stack.pop_back();
}