From a94ac0293ed778798a6c40f6deb86586f6bb185c Mon Sep 17 00:00:00 2001 From: "shravanrn@gmail.com" Date: Wed, 25 Mar 2020 15:41:11 -0700 Subject: [PATCH] Fix ambiguous partial specializations in converting enum data types (only an error in clang11 + libc++) --- code/include/rlbox_type_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/include/rlbox_type_traits.hpp b/code/include/rlbox_type_traits.hpp index 093ca8c..e1667de 100644 --- a/code/include/rlbox_type_traits.hpp +++ b/code/include/rlbox_type_traits.hpp @@ -383,7 +383,7 @@ namespace convert_detail { T_LongLongType, T_PointerType, std::enable_if_t && !std::is_same_v && - !std::is_const_v>> + !std::is_const_v && !std::is_enum_v>> { using type = std::make_unsigned_t< typename convert_base_types_t_helper,