Преглед на файлове

Merge pull request #4124 from pherl/nullptr

remove nullptr
Jisi Liu преди 7 години
родител
ревизия
39f577c38e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/google/protobuf/stubs/io_win32.cc

+ 1 - 1
src/google/protobuf/stubs/io_win32.cc

@@ -91,7 +91,7 @@ struct CharTraits<wchar_t> {
 
 
 template <typename char_type>
 template <typename char_type>
 bool null_or_empty(const char_type* s) {
 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:".
 // Returns true if the path starts with a drive letter, e.g. "c:".