mirror of
https://github.com/boostorg/json.git
synced 2025-05-11 13:44:06 +00:00
Remove unnecessary reset()
in example
close #346 The call to `parser::reset` just after default construction is redundant.
This commit is contained in:
parent
360b611612
commit
945d3d145b
@ -28,7 +28,6 @@ parse_file( char const* filename )
|
||||
file f( filename, "r" );
|
||||
json::parser p;
|
||||
json::error_code ec;
|
||||
p.reset();
|
||||
do
|
||||
{
|
||||
char buf[4096];
|
||||
|
Loading…
x
Reference in New Issue
Block a user