diff options
author | Brad King <brad.king@kitware.com> | 2018-01-25 09:02:51 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-25 09:21:39 -0500 |
commit | 1ad58d30321757327675451ba6d095b5204b999c (patch) | |
tree | eb9d85570da968aa423bee128a7754e0a26c96ae /Source/CTest/cmCTestMultiProcessHandler.cxx | |
parent | fa3ac83af0edf958d26b246109db6e3d6d128d70 (diff) | |
download | cmake-1ad58d30321757327675451ba6d095b5204b999c.tar.gz |
cmUVSignalHackRAII: Use nullptr instead of NULL
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index 53c47a2dfc..45d5bde2c4 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -48,10 +48,10 @@ public: this->HackSignal.init(this->HackLoop); this->HackSignal.start(HackCB, SIGCHLD); struct sigaction hack_sa; - sigaction(SIGCHLD, NULL, &hack_sa); + sigaction(SIGCHLD, nullptr, &hack_sa); if (!(hack_sa.sa_flags & SA_RESTART)) { hack_sa.sa_flags |= SA_RESTART; - sigaction(SIGCHLD, &hack_sa, NULL); + sigaction(SIGCHLD, &hack_sa, nullptr); } } ~cmUVSignalHackRAII() |