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 {