summaryrefslogtreecommitdiff
path: root/benchmarks/parsetoproto2.upb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/parsetoproto2.upb.cc')
-rw-r--r--benchmarks/parsetoproto2.upb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/parsetoproto2.upb.cc b/benchmarks/parsetoproto2.upb.cc
index 4ad1faa..699b521 100644
--- a/benchmarks/parsetoproto2.upb.cc
+++ b/benchmarks/parsetoproto2.upb.cc
@@ -35,7 +35,7 @@ static bool initialize()
pipeline.DonateRef(h, &h);
pipeline.DonateRef(h2, &h2);
- upb::pb::Decoder* d = decoder_sink->top()->GetUserdata<upb::pb::Decoder>();
+ upb::pb::Decoder* d = decoder_sink->GetObject<upb::pb::Decoder>();
upb::pb::ResetDecoderSink(d, proto2_sink);
return true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback