summaryrefslogtreecommitdiff
path: root/src/mongo/base/checked_cast.h
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2019-06-14 22:04:06 -0400
committerA. Jesse Jiryu Davis <jesse@mongodb.com>2019-06-17 14:30:10 -0400
commit6633498e9cecbeeb85b10ccbd6492f117d94d07a (patch)
treece78669a1827528ae2b397c25b9cfb8f98d19713 /src/mongo/base/checked_cast.h
parent0fbe3ed263ba7950efe8aa423bca919139cec5b5 (diff)
downloadmongo-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.h2
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);