diff options
Diffstat (limited to 'benchmarks/parsetostruct.proto2_compiled.cc')
-rw-r--r-- | benchmarks/parsetostruct.proto2_compiled.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/parsetostruct.proto2_compiled.cc b/benchmarks/parsetostruct.proto2_compiled.cc index f5f02bf..5b7c18e 100644 --- a/benchmarks/parsetostruct.proto2_compiled.cc +++ b/benchmarks/parsetostruct.proto2_compiled.cc @@ -29,7 +29,7 @@ static void cleanup() static size_t run(int i) { - if(!msg[i%NUM_MESSAGES].ParseFromString(str)) { + if(!msg[i%NUM_MESSAGES].ParsePartialFromString(str)) { fprintf(stderr, "Error parsing with proto2.\n"); return 0; } |