fix
This commit is contained in:
parent
84f087049d
commit
2b72f87c64
@ -15,7 +15,7 @@ namespace util {
|
||||
|
||||
const T& at(size_t index) const {
|
||||
if (index >= length) {
|
||||
throw std::out_of_range();
|
||||
throw std::out_of_range("index is out of range");
|
||||
}
|
||||
return ptr[index];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user