diff options
Diffstat (limited to 'benchmarks/parsetostruct.proto2_table.cc')
-rw-r--r-- | benchmarks/parsetostruct.proto2_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/parsetostruct.proto2_table.cc b/benchmarks/parsetostruct.proto2_table.cc index 49a5b16..83546ae 100644 --- a/benchmarks/parsetostruct.proto2_table.cc +++ b/benchmarks/parsetostruct.proto2_table.cc @@ -38,7 +38,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; } |