Skip to content

Commit

Permalink
Remove superfluous const.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed Sep 22, 2023
1 parent 0d293ed commit 057bc45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/vroom/raw_route.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ class RawRoute {
}

// Compute max load of sub-route spanning the [0; i[ range.
const Amount sub_route_max_load_before(Index i) const {
Amount sub_route_max_load_before(Index i) const {
assert(0 < i && i < size());
return _fwd_peaks[i] - _bwd_deliveries[i - 1];
}

// Compute max load of sub-route spanning the [i; size[ range.
const Amount sub_route_max_load_after(Index i) const {
Amount sub_route_max_load_after(Index i) const {
assert(0 < i && i < size());
return _bwd_peaks[i] - _fwd_pickups[i - 1];
}
Expand Down

0 comments on commit 057bc45

Please sign in to comment.