forgot .data on elements

v1
Brett 2024-04-12 00:04:23 -04:00
parent 898760e938
commit 325508e807
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake) 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_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -234,12 +234,12 @@ namespace blt
inline auto* data() inline auto* data()
{ {
return elements; return elements.data();
} }
[[nodiscard]] inline const auto* data() const [[nodiscard]] inline const auto* data() const
{ {
return elements; return elements.data();
} }
auto begin() auto begin()