diff --git a/es-app/src/FileFilterIndex.cpp b/es-app/src/FileFilterIndex.cpp index 53dfba2d5..a8a2ac1f6 100644 --- a/es-app/src/FileFilterIndex.cpp +++ b/es-app/src/FileFilterIndex.cpp @@ -656,7 +656,7 @@ void FileFilterIndex::manageIndexEntry(std::map* index, // LOG(LogDebug) << "Couldn't find entry in index! " << key; } else { - (index->at(key))--; + --(index->at(key)); if (index->at(key) <= 0) { index->erase(key); } @@ -667,6 +667,6 @@ void FileFilterIndex::manageIndexEntry(std::map* index, if (index->find(key) == index->cend()) (*index)[key] = 1; else - (index->at(key))++; + ++(index->at(key)); } }