From 057bc45a7f58d85d6dda558ae4be8e922d8ad840 Mon Sep 17 00:00:00 2001 From: jcoupey Date: Fri, 22 Sep 2023 11:58:23 +0200 Subject: [PATCH] Remove superfluous const. --- src/structures/vroom/raw_route.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/vroom/raw_route.h b/src/structures/vroom/raw_route.h index 2eb22b80a..73c70ff1a 100644 --- a/src/structures/vroom/raw_route.h +++ b/src/structures/vroom/raw_route.h @@ -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]; }