Skip to content

Commit

Permalink
Fix clang format reports (#152)
Browse files Browse the repository at this point in the history
Co-authored-by: Uilian Ries <[email protected]>
  • Loading branch information
rherilier and uilianries authored Dec 29, 2024
1 parent f513801 commit 3d1d4fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/tao/json/basic_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ namespace tao::json
return v;
}

basic_value& operator=( basic_value v ) noexcept( std::is_nothrow_move_assignable_v< variant_t > && std::is_nothrow_move_assignable_v< public_base_t > )
basic_value& operator=( basic_value v ) noexcept( std::is_nothrow_move_assignable_v< variant_t >&& std::is_nothrow_move_assignable_v< public_base_t > )
{
m_variant = std::move( v.m_variant );
public_base_t::operator=( static_cast< public_base_t&& >( v ) );
Expand Down
2 changes: 2 additions & 0 deletions src/test/json/make_events.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,10 @@ namespace tao::json::test
}
{
// TODO: More numbers...
// clang-format off
}
{
// clang-format on
c.string( "" );
c.element();
}
Expand Down

0 comments on commit 3d1d4fc

Please sign in to comment.