Skip to content

Commit 3d1d4fc

Browse files
Fix clang format reports (#152)
Co-authored-by: Uilian Ries <[email protected]>
1 parent f513801 commit 3d1d4fc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/tao/json/basic_value.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ namespace tao::json
156156
return v;
157157
}
158158

159-
basic_value& operator=( basic_value v ) noexcept( std::is_nothrow_move_assignable_v< variant_t > && std::is_nothrow_move_assignable_v< public_base_t > )
159+
basic_value& operator=( basic_value v ) noexcept( std::is_nothrow_move_assignable_v< variant_t >&& std::is_nothrow_move_assignable_v< public_base_t > )
160160
{
161161
m_variant = std::move( v.m_variant );
162162
public_base_t::operator=( static_cast< public_base_t&& >( v ) );

src/test/json/make_events.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,10 @@ namespace tao::json::test
234234
}
235235
{
236236
// TODO: More numbers...
237+
// clang-format off
237238
}
238239
{
240+
// clang-format on
239241
c.string( "" );
240242
c.element();
241243
}

0 commit comments

Comments
 (0)