diff options
author | Vadim Barkov <vbrkov@gmail.com> | 2018-10-28 00:07:09 (GMT) |
---|---|---|
committer | Vadim Barkov <vbrkov@gmail.com> | 2018-10-28 00:10:37 (GMT) |
commit | 53d61b5b2382891386bfd41f797118de433b358c (patch) | |
tree | 2598fe8f30a1e8484053cd461adb250023647219 /googletest/include/gtest/gtest-message.h | |
parent | 2e308484d9693f8251748c295f6ed7ed25d767eb (diff) | |
download | googletest-53d61b5b2382891386bfd41f797118de433b358c.zip googletest-53d61b5b2382891386bfd41f797118de433b358c.tar.gz googletest-53d61b5b2382891386bfd41f797118de433b358c.tar.bz2 |
Replaced all NULLs with nullptr in googletest
Diffstat (limited to 'googletest/include/gtest/gtest-message.h')
-rw-r--r-- | googletest/include/gtest/gtest-message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest-message.h b/googletest/include/gtest/gtest-message.h index e528d0e..4d8373c 100644 --- a/googletest/include/gtest/gtest-message.h +++ b/googletest/include/gtest/gtest-message.h @@ -207,7 +207,7 @@ class GTEST_API_ Message { // tr1::type_traits-like is_pointer works, and we can overload on that. template <typename T> inline void StreamHelper(internal::true_type /*is_pointer*/, T* pointer) { - if (pointer == NULL) { + if (pointer == nullptr) { *ss_ << "(null)"; } else { *ss_ << pointer; |