diff --git a/CMakeLists.txt b/CMakeLists.txt index 5da682f..3bc66ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.16.9) +set(BLT_VERSION 0.16.10) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/math/vectors.h b/include/blt/math/vectors.h index b3e29c9..31627b1 100644 --- a/include/blt/math/vectors.h +++ b/include/blt/math/vectors.h @@ -234,12 +234,12 @@ namespace blt inline auto* data() { - return elements; + return elements.data(); } [[nodiscard]] inline const auto* data() const { - return elements; + return elements.data(); } auto begin()