no discard
parent
3d81d30f34
commit
a04642237e
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
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_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
||||||
|
|
|
@ -104,7 +104,7 @@ namespace blt::gp
|
||||||
{}
|
{}
|
||||||
|
|
||||||
template<blt::u64 index>
|
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 offset = 0;
|
||||||
blt::size_t current_index = 0;
|
blt::size_t current_index = 0;
|
||||||
|
|
Loading…
Reference in New Issue