Skip to content
Permalink
Browse files

Fix ambiguous partial specializations in converting enum data types (…

…only an error in clang11 + libc++)
  • Loading branch information
shravanrn committed Mar 25, 2020
1 parent 1eda990 commit a94ac0293ed778798a6c40f6deb86586f6bb185c
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/include/rlbox_type_traits.hpp
@@ -383,7 +383,7 @@ namespace convert_detail {
T_LongLongType,
T_PointerType,
std::enable_if_t<std::is_unsigned_v<T> && !std::is_same_v<T, bool> &&
!std::is_const_v<T>>>
!std::is_const_v<T> && !std::is_enum_v<T>>>
{
using type = std::make_unsigned_t<
typename convert_base_types_t_helper<std::make_signed_t<T>,

0 comments on commit a94ac02

Please sign in to comment.
You can’t perform that action at this time.