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 ba89b299ef..cc355bb24a 100644 --- a/test/cpp/codegen/proto_utils_test.cc +++ b/test/cpp/codegen/proto_utils_test.cc @@ -61,7 +61,7 @@ TEST_F(ProtoUtilsTest, TinyBackupThenNext) { EXPECT_FALSE(peer.have_backup()); // On the next allocation, the returned slice is non-inlined. ASSERT_TRUE(writer.Next(&data, &size)); - EXPECT_TRUE(peer.slice().refcount != NULL); + EXPECT_TRUE(peer.slice().refcount != nullptr); EXPECT_EQ(block_size, size); // Cleanup. |