aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/arena_test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/arena_test_util.h')
-rw-r--r--src/google/protobuf/arena_test_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/arena_test_util.h b/src/google/protobuf/arena_test_util.h
index 8c9f7698..df56ece8 100644
--- a/src/google/protobuf/arena_test_util.h
+++ b/src/google/protobuf/arena_test_util.h
@@ -50,7 +50,7 @@ void TestParseCorruptedString(const T& message) {
s[i] ^= c;
google::protobuf::Arena arena;
T* message =
- google::protobuf::Arena::CreateMessage<T>(use_arena ? &arena : NULL);
+ google::protobuf::Arena::CreateMessage<T>(use_arena ? &arena : nullptr);
if (message->ParseFromString(s)) {
++success_count;
}