aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/byte_buffer_test.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-06-15 11:13:46 -0400
committerGravatar ncteisen <ncteisen@gmail.com>2018-06-15 11:13:46 -0400
commitc14e95fc63302421b71f0939a71d3a2b32c8ab1f (patch)
tree7a5a865423be974130cd24d3e70067052d6b9d8e /test/cpp/util/byte_buffer_test.cc
parentc7166ae67dd554d41b4d26286da2888aebc0153b (diff)
parentbd6ac0f9d57dda96797bbd5b1bd27815342e7ee5 (diff)
Merge branch 'master' of https://github.com/grpc/grpc into channelz
Diffstat (limited to 'test/cpp/util/byte_buffer_test.cc')
-rw-r--r--test/cpp/util/byte_buffer_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/byte_buffer_test.cc b/test/cpp/util/byte_buffer_test.cc
index b48a53eed1..9bffbf7ac1 100644
--- a/test/cpp/util/byte_buffer_test.cc
+++ b/test/cpp/util/byte_buffer_test.cc
@@ -41,7 +41,7 @@ class ByteBufferTest : public ::testing::Test {};
TEST_F(ByteBufferTest, CopyCtor) {
ByteBuffer buffer1;
EXPECT_FALSE(buffer1.Valid());
- ByteBuffer buffer2 = buffer1;
+ const ByteBuffer& buffer2 = buffer1;
EXPECT_FALSE(buffer2.Valid());
}