forgot .data on elements
parent
898760e938
commit
325508e807
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue