no discard

thread
Brett 2024-06-06 02:27:06 -04:00
parent 3d81d30f34
commit a04642237e
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
project(blt-gp VERSION 0.0.15)
project(blt-gp VERSION 0.0.16)
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)

View File

@ -104,7 +104,7 @@ namespace blt::gp
{}
template<blt::u64 index>
inline constexpr blt::size_t getByteOffset() const
[[nodiscard]] inline constexpr blt::size_t getByteOffset() const
{
blt::size_t offset = 0;
blt::size_t current_index = 0;