aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisi Liu <jisi.liu@gmail.com>2018-01-02 14:13:54 -0800
committerJisi Liu <jisi.liu@gmail.com>2018-01-02 14:13:54 -0800
commit4f3d8657c3914e5f2d5aa992e26f3e5c09326b84 (patch)
tree1b3727d5937ec3c9bf3272441b0990a0e7c5f7c4
parent88e5573b9a8a5c4038f9db3633610f032aab277d (diff)
downloadprotobuf-4f3d8657c3914e5f2d5aa992e26f3e5c09326b84.tar.gz
protobuf-4f3d8657c3914e5f2d5aa992e26f3e5c09326b84.tar.bz2
protobuf-4f3d8657c3914e5f2d5aa992e26f3e5c09326b84.zip
remove nullptr
-rw-r--r--src/google/protobuf/stubs/io_win32.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/io_win32.cc b/src/google/protobuf/stubs/io_win32.cc
index ad2d2d26..b59b8e48 100644
--- a/src/google/protobuf/stubs/io_win32.cc
+++ b/src/google/protobuf/stubs/io_win32.cc
@@ -91,7 +91,7 @@ struct CharTraits<wchar_t> {
template <typename char_type>
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:".