From 325508e807f376fb7d287dbb9d80899eddb4e8ff Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 12 Apr 2024 00:04:23 -0400 Subject: [PATCH] forgot .data on elements --- CMakeLists.txt | 2 +- include/blt/math/vectors.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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()