make const const again

v1
Brett 2024-08-07 01:34:31 -04:00
parent 42fa378200
commit 941aedb510
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake)
set(BLT_VERSION 0.18.25)
set(BLT_VERSION 0.18.26)
set(BLT_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT)

View File

@ -383,7 +383,7 @@ namespace blt
constexpr inline const T& operator[](size_t index) const
{
if (index >= size())
allocate_for(index);
BLT_ABORT("Index out of bounds");
return buffer_[index];
}