diff options
Diffstat (limited to 'test/cpp/codegen')
-rw-r--r-- | test/cpp/codegen/proto_utils_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/codegen/proto_utils_test.cc b/test/cpp/codegen/proto_utils_test.cc index fd05c90e9d..2b853b1bea 100644 --- a/test/cpp/codegen/proto_utils_test.cc +++ b/test/cpp/codegen/proto_utils_test.cc @@ -63,7 +63,7 @@ TEST_F(ProtoUtilsTest, BackupNext) { EXPECT_TRUE(!peer.have_backup()); // On the next allocation, the slice is non-inlined. ASSERT_TRUE(writer.Next(&data, &size)); - EXPECT_TRUE(peer.slice().refcount != NULL); + EXPECT_TRUE(peer.slice().refcount != nullptr); // Cleanup. g_core_codegen_interface->grpc_byte_buffer_destroy(bp); |