Skip to content

Commit fef8ed6

Browse files
committed
Fix clang analyzer warning in pickDeliver initial_solution.cpp
1 parent 5d76cc6 commit fef8ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pickDeliver/initial_solution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Initial_solution::do_while_foo(int kind) {
8181
Identifiers<size_t> notused;
8282

8383
while (!m_unassigned.empty()) {
84-
auto current = m_unassigned.size();
84+
const auto current = m_unassigned.size();
8585
auto truck = trucks.get_truck(m_unassigned.front());
8686
/*
8787
* kind 1 to 7 work with the same code structure

0 commit comments

Comments
 (0)