Skip to content

Commit 491e8f9

Browse files
committed
clang-format
1 parent 9d40ca8 commit 491e8f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include/tao/json/contrib/internal/type_traits.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace tao::json::internal
2323
inline constexpr bool use_fourth_ptr_as = !use_first_ptr_as< T, Traits, With... > && !use_third_ptr_as< T, Traits, With... > && std::is_copy_constructible_v< T > && has_as< Traits< T >, basic_value< Traits >, With... >;
2424

2525
template< typename T, template< typename... > class Traits, class Producer >
26-
inline constexpr bool use_first_ptr_consume = std::is_move_constructible_v< T >&& has_consume_one< Traits, Producer, T >;
26+
inline constexpr bool use_first_ptr_consume = std::is_move_constructible_v< T > && has_consume_one< Traits, Producer, T >;
2727

2828
template< typename T, template< typename... > class Traits, class Producer >
2929
inline constexpr bool use_second_ptr_consume = !use_first_ptr_consume< T, Traits, Producer > && std::is_default_constructible_v< T > && has_consume_two< Traits, Producer, T >;

include/tao/json/span.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ namespace tao
7272
std::enable_if_t< !std::is_array_v< Container > >,
7373
decltype( std::data( std::declval< Container >() ) ),
7474
decltype( std::size( std::declval< Container >() ) ),
75-
std::enable_if_t< std::is_convertible_v< std::remove_pointer_t< decltype( std::data( std::declval< Container& >() ) ) > ( * )[], ElementType ( * )[] > > > > = true;
75+
std::enable_if_t< std::is_convertible_v< std::remove_pointer_t< decltype( std::data( std::declval< Container& >() ) ) > ( * )[], ElementType ( * )[] > > > >
76+
= true;
7677

7778
} // namespace internal
7879

0 commit comments

Comments
 (0)