From e29faf7f3aa89495586b3ed0563d0c4996a5f84d Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 7 Mar 2024 12:55:12 -0500 Subject: [PATCH] move the extra data to the start --- CMakeLists.txt | 2 +- include/blt/std/array.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 826c2c7..e5ab94d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.5) include(cmake/color.cmake) -set(BLT_VERSION 0.14.2) +set(BLT_VERSION 0.14.3) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/array.h b/include/blt/std/array.h index 6c4e11c..c962554 100644 --- a/include/blt/std/array.h +++ b/include/blt/std/array.h @@ -45,9 +45,9 @@ namespace blt template struct metadata_template_t { + Extra extra; // size in number of elements! blt::size_t size; - Extra extra; explicit metadata_template_t(blt::size_t size): size(size) {}