diff options
author | Dhruv <dhruv.batra@hotmail.com> | 2018-08-06 23:10:16 +0800 |
---|---|---|
committer | Dhruv <dhruv.batra@hotmail.com> | 2018-08-07 08:03:57 +0800 |
commit | 526b350199e604b62daaee9febc5d8a8d593a010 (patch) | |
tree | b5b0408408979675429fab071c5ce1cae1313a54 /src/google/protobuf/stubs/strutil.h | |
parent | e9a5412afcb5035c02136ba65210bf2cb69d9ab5 (diff) | |
download | protobuf-526b350199e604b62daaee9febc5d8a8d593a010.tar.gz protobuf-526b350199e604b62daaee9febc5d8a8d593a010.tar.bz2 protobuf-526b350199e604b62daaee9febc5d8a8d593a010.zip |
4593 Replace all occurrences of "NULL" to nullptr in src/google/protobug/stubs
Diffstat (limited to 'src/google/protobuf/stubs/strutil.h')
-rw-r--r-- | src/google/protobuf/stubs/strutil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/stubs/strutil.h b/src/google/protobuf/stubs/strutil.h index a839b8b3..e34b9988 100644 --- a/src/google/protobuf/stubs/strutil.h +++ b/src/google/protobuf/stubs/strutil.h @@ -285,7 +285,7 @@ inline string JoinStrings(const std::vector<string>& components, // // Errors: In the first form of the call, errors are reported with // LOG(ERROR). The same is true for the second form of the call if -// the pointer to the string std::vector is NULL; otherwise, error +// the pointer to the string std::vector is nullptr; otherwise, error // messages are stored in the std::vector. In either case, the effect on // the dest array is not defined, but rest of the source will be // processed. @@ -304,7 +304,7 @@ LIBPROTOBUF_EXPORT int UnescapeCEscapeSequences(const char* source, char* dest, // to be the same. // // The second call stores its errors in a supplied string vector. -// If the string vector pointer is NULL, it reports the errors with LOG(). +// If the string vector pointer is nullptr, it reports the errors with LOG(). // // In the first and second calls, the length of dest is returned. In the // the third call, the new string is returned. |