diff --git a/Framework/Foundation/include/Framework/StructToTuple.h b/Framework/Foundation/include/Framework/StructToTuple.h index dbfccbcb95acc..320337656d7e2 100644 --- a/Framework/Foundation/include/Framework/StructToTuple.h +++ b/Framework/Foundation/include/Framework/StructToTuple.h @@ -138,8 +138,7 @@ consteval auto brace_constructible_size(auto... Members) if constexpr (requires { T{Members...}; } == false) { static_assert(sizeof...(Members) != 0, "You need to make sure that you have implicit constructors or that you call the explicit constructor correctly."); return sizeof...(Members) - 1; - } - else { + } else { return brace_constructible_size(Members..., UniversalType{}); } }