From b33e3e698ad9132e9f62dd314c73faad0cb7ef54 Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Fri, 28 Jun 2024 10:06:44 +0200 Subject: [PATCH] Fixed arrow_layout concept --- include/sparrow/array_data_concepts.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/sparrow/array_data_concepts.hpp b/include/sparrow/array_data_concepts.hpp index 99882eb4f..5e0922c7c 100644 --- a/include/sparrow/array_data_concepts.hpp +++ b/include/sparrow/array_data_concepts.hpp @@ -17,6 +17,7 @@ #include "sparrow/dictionary_encoded_layout.hpp" #include "sparrow/fixed_size_layout.hpp" #include "sparrow/mp_utils.hpp" +#include "sparrow/null_layout.hpp" #include "sparrow/variable_size_binary_layout.hpp" namespace sparrow @@ -30,7 +31,8 @@ namespace sparrow * @tparam Layout The layout type to check. */ template - concept arrow_layout = mpl::is_type_instance_of_v + concept arrow_layout = mpl::is_type_instance_of_v + || mpl::is_type_instance_of_v || mpl::is_type_instance_of_v || mpl::is_type_instance_of_v;