mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix crash in Clang in Xcode 10.2.
This commit is contained in:
parent
84858b8940
commit
4d321b1cf0
1 changed files with 2 additions and 1 deletions
|
@ -234,7 +234,8 @@ void FieldAutocomplete::updateFiltered(bool resetScroll) {
|
|||
bool listAllSuggestions = _filter.isEmpty();
|
||||
auto &recent(cRecentWriteHashtags());
|
||||
hrows.reserve(recent.size());
|
||||
for (const auto &[tag, ratio] : recent) {
|
||||
for (const auto &item : recent) {
|
||||
const auto &tag = item.first;
|
||||
if (!listAllSuggestions
|
||||
&& (tag.size() == _filter.size()
|
||||
|| !TextUtilities::RemoveAccents(tag).startsWith(
|
||||
|
|
Loading…
Add table
Reference in a new issue