Skip to content

Commit

Permalink
Fix ambiguous partial specializations in converting enum data types (…
Browse files Browse the repository at this point in the history
…only an error in clang11 + libc++)
  • Loading branch information
shravanrn committed Mar 25, 2020
1 parent 1eda990 commit a94ac02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/include/rlbox_type_traits.hpp
Expand Up @@ -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>,
Expand Down

0 comments on commit a94ac02

Please sign in to comment.