Skip to content

Commit 004faa4

Browse files
committed
Merge branch 'fix/ndebug-unused-warning'
2 parents 050ee1d + 6e168e2 commit 004faa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/structures/vroom/input/input.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ void Input::add_vehicle(const Vehicle& vehicle) {
402402
current_v.type = search->second;
403403
} else {
404404
const Index rank = _vehicle_types.size();
405-
const auto [it, insertion_ok] =
405+
[[maybe_unused]] const auto [it, insertion_ok] =
406406
_type_to_rank_in_vehicle_types.try_emplace(type, rank);
407407
assert(insertion_ok);
408408
_vehicle_types.push_back(type);

0 commit comments

Comments
 (0)