From 4f3d8657c3914e5f2d5aa992e26f3e5c09326b84 Mon Sep 17 00:00:00 2001 From: Jisi Liu Date: Tue, 2 Jan 2018 14:13:54 -0800 Subject: [PATCH] remove nullptr --- src/google/protobuf/stubs/io_win32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/stubs/io_win32.cc b/src/google/protobuf/stubs/io_win32.cc index ad2d2d265e..b59b8e487b 100644 --- a/src/google/protobuf/stubs/io_win32.cc +++ b/src/google/protobuf/stubs/io_win32.cc @@ -91,7 +91,7 @@ struct CharTraits { template bool null_or_empty(const char_type* s) { - return s == nullptr || *s == 0; + return s == NULL || *s == 0; } // Returns true if the path starts with a drive letter, e.g. "c:".