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/shell/shell_utils_launcher.cpp | |
parent | 0fbe3ed263ba7950efe8aa423bca919139cec5b5 (diff) | |
download | mongo-6633498e9cecbeeb85b10ccbd6492f117d94d07a.tar.gz |
SERVER-41071 Replace more NULLs with nullptr
Diffstat (limited to 'src/mongo/shell/shell_utils_launcher.cpp')
-rw-r--r-- | src/mongo/shell/shell_utils_launcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shell_utils_launcher.cpp b/src/mongo/shell/shell_utils_launcher.cpp index c25acf297f7..60a78f9a38d 100644 --- a/src/mongo/shell/shell_utils_launcher.cpp +++ b/src/mongo/shell/shell_utils_launcher.cpp @@ -911,7 +911,7 @@ inline void kill_wrapper(ProcessId pid, int sig, int port, const BSONObj& opt) { std::string eventName = getShutdownSignalName(pid.asUInt32()); HANDLE event = OpenEventA(EVENT_MODIFY_STATE, FALSE, eventName.c_str()); - if (event == NULL) { + if (event == nullptr) { int gle = GetLastError(); if (gle != ERROR_FILE_NOT_FOUND) { const auto ewd = errnoWithDescription(); |