From 481e3f221b587eeb43e612ef4ec7f4e6dadcaea1 Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Tue, 27 Feb 2024 19:02:43 +0100 Subject: [PATCH] [MISC] gcc 14 workaorund --- include/seqan3/alignment/configuration/detail.hpp | 4 ++-- include/seqan3/search/configuration/detail.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/seqan3/alignment/configuration/detail.hpp b/include/seqan3/alignment/configuration/detail.hpp index 9190dc48cd..3465d11300 100644 --- a/include/seqan3/alignment/configuration/detail.hpp +++ b/include/seqan3/alignment/configuration/detail.hpp @@ -50,8 +50,8 @@ enum struct align_config_id : uint8_t * this table to allow validation checks. */ template <> -inline constexpr std::array(align_config_id::SIZE)>, - static_cast(align_config_id::SIZE)> +SEQAN3_WORKAROUND_GCC_114013 std::array(align_config_id::SIZE)>, + static_cast(align_config_id::SIZE)> compatibility_table{{ //band //| debug diff --git a/include/seqan3/search/configuration/detail.hpp b/include/seqan3/search/configuration/detail.hpp index 203f39ff0c..4d5f1d155f 100644 --- a/include/seqan3/search/configuration/detail.hpp +++ b/include/seqan3/search/configuration/detail.hpp @@ -72,8 +72,8 @@ enum struct search_config_id : uint8_t * determined by the enum value `SIZE` of seqan3::detail::search_config_id. */ template <> -inline constexpr std::array(search_config_id::SIZE)>, - static_cast(search_config_id::SIZE)> +SEQAN3_WORKAROUND_GCC_114013 std::array(search_config_id::SIZE)>, + static_cast(search_config_id::SIZE)> compatibility_table = {{ // max_error_total, // | max_error_substitution,