From d61450aacbe1d0d4cdddd50524813d6a8e2ab7b7 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 25 Sep 2024 10:43:50 +0200 Subject: [PATCH] Use std::array explicitly in child_pattern Otherwise, it's assumed to be an initializer_list. --- include/octree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/octree.h b/include/octree.h index 8774b88..2fa82b6 100644 --- a/include/octree.h +++ b/include/octree.h @@ -7,7 +7,7 @@ constexpr int max_contained_types = 16; constexpr int max_octree_depth = 2; -constexpr auto child_pattern = { +constexpr std::array child_pattern = { glm::vec3(+1, -1, -1), glm::vec3(+1, -1, +1), glm::vec3(+1, +1, -1),