summaryrefslogtreecommitdiff
path: root/tests/pb/test_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pb/test_encoder.cc')
-rw-r--r--tests/pb/test_encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pb/test_encoder.cc b/tests/pb/test_encoder.cc
index a042d3d..8b78ea8 100644
--- a/tests/pb/test_encoder.cc
+++ b/tests/pb/test_encoder.cc
@@ -24,7 +24,7 @@ void test_pb_roundtrip() {
upb::Arena arena;
google_protobuf_FileDescriptorSet *set =
google_protobuf_FileDescriptorSet_parsenew(
- upb_stringview_make(input.c_str(), input.size()), arena.ptr());
+ upb_strview_make(input.c_str(), input.size()), arena.ptr());
ASSERT(set);
size_t n;
const google_protobuf_FileDescriptorProto *const *files =
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback