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

Use vector instead of custom linked list.

This commit is contained in:
John Preston
2019-04-16 15:37:50 +04:00
parent 58d86af399
commit 2862070348
9 changed files with 129 additions and 268 deletions

View File

@@ -952,7 +952,7 @@ void ShareBox::Inner::updateFilter(QString filter) {
if (!_chatsIndexed->isEmpty()) {
for (fi = fb; fi != fe; ++fi) {
auto found = _chatsIndexed->filtered(fi->at(0));
if (found->isEmpty()) {
if (found->empty()) {
toFilter = nullptr;
break;
}