diff options
author | Josh Haberman <jhaberman@gmail.com> | 2013-05-25 10:35:01 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2013-05-25 10:35:01 -0700 |
commit | ee3a3191cda5faae5dcc9cd1526292c57f2be343 (patch) | |
tree | 9df417a452f08a9205ae2c1ceea20abe8cd83491 /benchmarks/parsetoproto2.upb.cc | |
parent | c70a75429626a85f9fe4975fabaddbb75a39f79f (diff) |
Updated benchmarks to new API.
Diffstat (limited to 'benchmarks/parsetoproto2.upb.cc')
-rw-r--r-- | benchmarks/parsetoproto2.upb.cc | 2 |
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; |