summaryrefslogtreecommitdiffstats
path: root/Source/cmAffinity.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-06 20:58:06 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-16 14:11:13 (GMT)
commitf30523d090b343c7eff3083b8f12e3dcd4755cba (patch)
tree0b75fe27f34c5487d32413b6521f2ef83bf66c2d /Source/cmAffinity.cxx
parent9602bcfc62d50d7bb302b02ae3b1f9afe941bae7 (diff)
downloadCMake-f30523d090b343c7eff3083b8f12e3dcd4755cba.zip
CMake-f30523d090b343c7eff3083b8f12e3dcd4755cba.tar.gz
CMake-f30523d090b343c7eff3083b8f12e3dcd4755cba.tar.bz2
clang-tidy: modernize-deprecated-headers
Diffstat (limited to 'Source/cmAffinity.cxx')
-rw-r--r--Source/cmAffinity.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAffinity.cxx b/Source/cmAffinity.cxx
index a6d89aa..33768a9 100644
--- a/Source/cmAffinity.cxx
+++ b/Source/cmAffinity.cxx
@@ -13,7 +13,7 @@
# include <pthread.h>
# include <sched.h>
// On some platforms CPU_ZERO needs memset but sched.h forgets string.h
-# include <string.h> // IWYU pragma: keep
+# include <cstring> // IWYU pragma: keep
# if defined(__FreeBSD__)
# include <pthread_np.h>
# include <sys/cpuset.h>