Skip to content

Commit 32e8704

Browse files
committed
Resolve some warnings from MSVC
1 parent 739ffd2 commit 32e8704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/tao/json/events/validate_keys.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace tao
2424

2525
void validate_key( const tao::string_view v )
2626
{
27-
json_pegtl::memory_input< json_pegtl::tracking_mode::LAZY > in( v.data(), v.size(), __PRETTY_FUNCTION__ );
27+
json_pegtl::memory_input< json_pegtl::tracking_mode::LAZY > in( v.data(), v.size(), "validate_key" );
2828
if( !json_pegtl::parse< Rule >( in ) ) {
2929
throw std::runtime_error( "invalid key: " + std::string( v.data(), v.size() ) );
3030
}

0 commit comments

Comments
 (0)