From 5992b454a551e4e7a4218ba783a4ca266411a39a Mon Sep 17 00:00:00 2001 From: sha512sum Date: Fri, 8 Nov 2024 11:18:42 +0000 Subject: [PATCH] . --- library/include/larra/serialization/auto.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/library/include/larra/serialization/auto.hpp b/library/include/larra/serialization/auto.hpp index d44b522..cdf9352 100644 --- a/library/include/larra/serialization/auto.hpp +++ b/library/include/larra/serialization/auto.hpp @@ -189,10 +189,9 @@ auto SerializeField(xmlpp::Element* main, const T& obj) { template struct SerializationConfig { decltype([] { - return []( // GCC Workaround - std::index_sequence...) -> utempl::Tuple>::type...> { - std::unreachable(); - }(std::make_index_sequence>()); + return [](auto... is) { + return utempl::Tuple>::type...>{}; + } | utempl::kSeq>; }()) tuple{}; template // NOLINTNEXTLINE consteval auto With(this Self&& self, ElementConfig>::type config) -> SerializationConfig {