Skip to content

Commit

Permalink
Silence clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Apr 2, 2020
1 parent 46adcf9 commit 7a3ce03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/tao/pq/span.hpp
Expand Up @@ -56,7 +56,7 @@ namespace tao
{};

template< typename T >
constexpr bool is_span_v = is_span< std::remove_cv_t< T > >::value;
inline constexpr bool is_span_v = is_span< std::remove_cv_t< T > >::value;

template< typename >
struct is_std_array
Expand All @@ -69,10 +69,10 @@ namespace tao
{};

template< typename T >
constexpr bool is_std_array_v = is_std_array< std::remove_cv_t< T > >::value;
inline constexpr bool is_std_array_v = is_std_array< std::remove_cv_t< T > >::value;

template< typename T, typename ElementType >
constexpr bool is_span_compatible_ptr_v = std::is_convertible_v< T ( * )[], ElementType ( * )[] >;
inline constexpr bool is_span_compatible_ptr_v = std::is_convertible_v< T ( * )[], ElementType ( * )[] >;

template< typename, typename, typename = void >
struct is_span_compatible_container
Expand All @@ -93,7 +93,7 @@ namespace tao
{};

template< typename Container, typename ElementType >
constexpr bool is_span_compatible_container_v = is_span_compatible_container< Container, ElementType >::value;
inline constexpr bool is_span_compatible_container_v = is_span_compatible_container< Container, ElementType >::value;

} // namespace internal

Expand Down

0 comments on commit 7a3ce03

Please sign in to comment.