File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -603,10 +603,10 @@ auto as( std::variant<Ts...> const& x ) {
603603 if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<3 >(x)), T >) if (x.index () == 3 ) return operator_as<3 >(x);
604604 if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<4 >(x)), T >) if (x.index () == 4 ) return operator_as<4 >(x);
605605 if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<5 >(x)), T >) if (x.index () == 5 ) return operator_as<5 >(x);
606- if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<6 >(x)), T >) if (x.index () == 6 ) return operator_as<2 >(x);
607- if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<7 >(x)), T >) if (x.index () == 7 ) return operator_as<3 >(x);
608- if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<8 >(x)), T >) if (x.index () == 8 ) return operator_as<4 >(x);
609- if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<9 >(x)), T >) if (x.index () == 9 ) return operator_as<5 >(x);
606+ if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<6 >(x)), T >) if (x.index () == 6 ) return operator_as<6 >(x);
607+ if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<7 >(x)), T >) if (x.index () == 7 ) return operator_as<7 >(x);
608+ if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<8 >(x)), T >) if (x.index () == 8 ) return operator_as<8 >(x);
609+ if constexpr (std::is_same_v< CPP2_TYPEOF (operator_as<9 >(x)), T >) if (x.index () == 9 ) return operator_as<9 >(x);
610610 throw std::bad_variant_access ();
611611}
612612
You can’t perform that action at this time.
0 commit comments