We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 050ee1d + 6e168e2 commit 004faa4Copy full SHA for 004faa4
1 file changed
src/structures/vroom/input/input.cpp
@@ -402,7 +402,7 @@ void Input::add_vehicle(const Vehicle& vehicle) {
402
current_v.type = search->second;
403
} else {
404
const Index rank = _vehicle_types.size();
405
- const auto [it, insertion_ok] =
+ [[maybe_unused]] const auto [it, insertion_ok] =
406
_type_to_rank_in_vehicle_types.try_emplace(type, rank);
407
assert(insertion_ok);
408
_vehicle_types.push_back(type);
0 commit comments