mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
84f087049d
commit
2b72f87c64
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue