From fb1bf00918ebb4da5fd9e6d2edd86d5d455be55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Thu, 1 Sep 2022 22:32:22 -0700 Subject: [PATCH] Fixed EnableIf. --- include/bx/inline/typetraits.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bx/inline/typetraits.inl b/include/bx/inline/typetraits.inl index 232c4f7..c9d6e89 100644 --- a/include/bx/inline/typetraits.inl +++ b/include/bx/inline/typetraits.inl @@ -35,13 +35,13 @@ namespace bx template using TypeIdentityType = typename TypeIdentityT::Type; //--- - template struct ConditionalT { using type = Ty; }; - template< typename Ty, typename Uy> struct ConditionalT { using type = Uy; }; + template struct ConditionalT { using Type = Ty; }; + template< typename Ty, typename Uy> struct ConditionalT { using Type = Uy; }; template using ConditionalType = typename ConditionalT::Type; //--- template struct EnableIfT { }; - template< typename Ty > struct EnableIfT { using type = Ty; }; + template< typename Ty > struct EnableIfT { using Type = Ty; }; template using EnableIfType = typename EnableIfT::Type; //---