diff --git a/src/common/PatchDB.cpp b/src/common/PatchDB.cpp index 0012a7c3127..0d502c23ead 100644 --- a/src/common/PatchDB.cpp +++ b/src/common/PatchDB.cpp @@ -668,8 +668,9 @@ CREATE TABLE IF NOT EXISTS Favorites ( if (keepRunning) { auto b = pathQ.begin(); - const auto &e = (pathQ.size() < transChunkSize) ? pathQ.end() - : pathQ.begin() + transChunkSize; + const auto &e = (pathQ.size() < transChunkSize) + ? pathQ.end() + : pathQ.begin() + transChunkSize; std::copy(b, e, std::back_inserter(doThis)); pathQ.erase(b, e); }