Skip to content

Commit

Permalink
nit picked
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lowndes authored and David Lowndes committed Nov 23, 2024
1 parent 9ee6d76 commit 5000c3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/common/PatchDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5000c3a

Please sign in to comment.