diff --git a/CMakeLists.txt b/CMakeLists.txt index 33a17bb..13bb4d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/include/blt/gp/program.h b/include/blt/gp/program.h index 4acd265..485ee5f 100644 --- a/include/blt/gp/program.h +++ b/include/blt/gp/program.h @@ -104,7 +104,7 @@ namespace blt::gp {} template - 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;