We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 739ffd2 commit 32e8704Copy full SHA for 32e8704
include/tao/json/events/validate_keys.hpp
@@ -24,7 +24,7 @@ namespace tao
24
25
void validate_key( const tao::string_view v )
26
{
27
- json_pegtl::memory_input< json_pegtl::tracking_mode::LAZY > in( v.data(), v.size(), __PRETTY_FUNCTION__ );
+ json_pegtl::memory_input< json_pegtl::tracking_mode::LAZY > in( v.data(), v.size(), "validate_key" );
28
if( !json_pegtl::parse< Rule >( in ) ) {
29
throw std::runtime_error( "invalid key: " + std::string( v.data(), v.size() ) );
30
}
0 commit comments