diff --git a/src/client/Client.cpp b/src/client/Client.cpp index dc284af7b..7040f4b86 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -378,7 +378,6 @@ void Client::RescanStamps() newStampIDs.push_back(stampID); } } - auto oldCount = newStampIDs.size(); auto stampIDsSet = std::set(stampIDs.begin(), stampIDs.end()); for (auto &stampID : stampFilesSet) { @@ -390,8 +389,6 @@ void Client::RescanStamps() } if (changed) { - // Move newly discovered stamps to front. - std::rotate(newStampIDs.begin(), newStampIDs.begin() + oldCount, newStampIDs.end()); stampIDs = newStampIDs; WriteStamps(); }