Skip to content

Commit

Permalink
Minor code format change
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed Apr 24, 2024
1 parent 1f248cc commit 824c173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/etl/type_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ typedef integral_constant<bool, true> true_type;
struct is_base_of_all
{
static const bool value = etl::is_base_of<T, T1>::value &&
etl::is_base_of_all<T, TRest...>::value;
etl::is_base_of_all<T, TRest...>::value;
};

template <typename T, typename T1>
Expand All @@ -1430,7 +1430,7 @@ typedef integral_constant<bool, true> true_type;
struct is_base_of_any
{
static const bool value = etl::is_base_of<T, T1>::value ||
etl::is_base_of_any<T, TRest...>::value;
etl::is_base_of_any<T, TRest...>::value;
};

template <typename T, typename T1>
Expand Down

0 comments on commit 824c173

Please sign in to comment.