diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-06-14 22:04:06 -0400 |
---|---|---|
committer | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-06-17 14:30:10 -0400 |
commit | 6633498e9cecbeeb85b10ccbd6492f117d94d07a (patch) | |
tree | ce78669a1827528ae2b397c25b9cfb8f98d19713 /src/mongo/base/checked_cast.h | |
parent | 0fbe3ed263ba7950efe8aa423bca919139cec5b5 (diff) | |
download | mongo-6633498e9cecbeeb85b10ccbd6492f117d94d07a.tar.gz |
SERVER-41071 Replace more NULLs with nullptr
Diffstat (limited to 'src/mongo/base/checked_cast.h')
-rw-r--r-- | src/mongo/base/checked_cast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/base/checked_cast.h b/src/mongo/base/checked_cast.h index 074b432fab7..df62cd41b3b 100644 --- a/src/mongo/base/checked_cast.h +++ b/src/mongo/base/checked_cast.h @@ -61,7 +61,7 @@ struct checked_cast_impl<true> { template <typename T, typename U> static T cast(U* u) { if (!u) { - return NULL; + return nullptr; } T t = dynamic_cast<T>(u); invariant(t); |