diff --git a/src/infrastructure/dto/location.h b/src/infrastructure/dto/location.h index 7c94c62..6df16e3 100644 --- a/src/infrastructure/dto/location.h +++ b/src/infrastructure/dto/location.h @@ -43,6 +43,7 @@ struct DTO_Location { return i.at(index); index -= count; } + throw std::out_of_range("Index out of range"); } };