From 1ad58d30321757327675451ba6d095b5204b999c Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 25 Jan 2018 09:02:51 -0500 Subject: cmUVSignalHackRAII: Use nullptr instead of NULL --- Source/CTest/cmCTestMultiProcessHandler.cxx | 4 ++-- 1 file 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() -- cgit v0.12