diff options
author | Brad King <brad.king@kitware.com> | 2018-01-25 14:02:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-25 14:21:39 (GMT) |
commit | 1ad58d30321757327675451ba6d095b5204b999c (patch) | |
tree | eb9d85570da968aa423bee128a7754e0a26c96ae /Source/CTest | |
parent | fa3ac83af0edf958d26b246109db6e3d6d128d70 (diff) | |
download | CMake-1ad58d30321757327675451ba6d095b5204b999c.zip CMake-1ad58d30321757327675451ba6d095b5204b999c.tar.gz CMake-1ad58d30321757327675451ba6d095b5204b999c.tar.bz2 |
cmUVSignalHackRAII: Use nullptr instead of NULL
Diffstat (limited to 'Source/CTest')
-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 53c47a2..45d5bde 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() |