aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/byte_buffer_proto_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/util/byte_buffer_proto_helper.cc')
-rw-r--r--test/cpp/util/byte_buffer_proto_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/byte_buffer_proto_helper.cc b/test/cpp/util/byte_buffer_proto_helper.cc
index d625d6f3f4..ab5ca261e6 100644
--- a/test/cpp/util/byte_buffer_proto_helper.cc
+++ b/test/cpp/util/byte_buffer_proto_helper.cc
@@ -51,7 +51,7 @@ std::unique_ptr<ByteBuffer> SerializeToByteBuffer(
grpc::protobuf::Message* message) {
grpc::string buf;
message->SerializeToString(&buf);
- gpr_slice s = gpr_slice_from_copied_string(buf.c_str());
+ grpc_slice s = grpc_slice_from_copied_string(buf.c_str());
Slice slice(s, Slice::STEAL_REF);
return std::unique_ptr<ByteBuffer>(new ByteBuffer(&slice, 1));
}