Skip to content

Commit 90191e3

Browse files
committed
clang-format
1 parent 33eecbb commit 90191e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/tao/json/events/from_value.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ namespace tao::json::events
197197
template< typename Consumer, template< typename... > class Traits >
198198
void from_value( Consumer& consumer, basic_value< Traits >&& v )
199199
{
200-
from_value< static_cast< void ( * )( Consumer&, basic_value< Traits > && ) >( &from_value< Consumer, Traits > ), Consumer, Traits >( consumer, std::move( v ) );
200+
from_value< static_cast< void ( * )( Consumer&, basic_value< Traits >&& ) >( &from_value< Consumer, Traits > ), Consumer, Traits >( consumer, std::move( v ) );
201201
}
202202

203203
} // namespace tao::json::events

include/tao/json/msgpack/events/to_stream.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ namespace tao::json::msgpack::events
159159
void element() noexcept
160160
{}
161161

162-
void end_array() // NOLINT(readability-convert-member-functions-to-static)
162+
void end_array() // NOLINT(readability-convert-member-functions-to-static)
163163
{
164164
assert( false ); // LCOV_EXCL_LINE
165165
}
@@ -196,7 +196,7 @@ namespace tao::json::msgpack::events
196196
void member() noexcept
197197
{}
198198

199-
void end_object() // NOLINT(readability-convert-member-functions-to-static)
199+
void end_object() // NOLINT(readability-convert-member-functions-to-static)
200200
{
201201
assert( false ); // LCOV_EXCL_LINE
202202
}

src/test/json/json_parse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ namespace tao::json
116116
TEST_ASSERT( custom_from_string( "\"f\177o\"" ) == value( "f\177o" ) );
117117

118118
// TODO: This is sometimes allowed to allow embedded null-bytes within a null-terminated string. (Modified UTF-8)
119-
TEST_THROWS( custom_from_string( "\"f\300\200o\"" ) ); // Codepoint 0x00 as 2 byte UTF-8 - overlong encoding.
119+
TEST_THROWS( custom_from_string( "\"f\300\200o\"" ) ); // Codepoint 0x00 as 2 byte UTF-8 - overlong encoding.
120120

121121
TEST_THROWS( custom_from_string( "\"f\300\201o\"" ) ); // Codepoint 0x01 as 2 byte UTF-8 - overlong encoding.
122122
TEST_THROWS( custom_from_string( "\"f\340\200\201o\"" ) ); // Codepoint 0x01 as 3 byte UTF-8 - overlong encoding.

0 commit comments

Comments
 (0)