summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorRose <83477269+AtariDreams@users.noreply.github.com>2021-10-23 15:27:46 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-02 18:45:29 (GMT)
commit6f4727aaa04df63e24e2d514c7f6ba924491b8e5 (patch)
treea61225458f861ceb42512a0baf7e419a5778078f /Source/CPack
parent4e84a4763d702590fb06d62540e35a614dcd5133 (diff)
downloadCMake-6f4727aaa04df63e24e2d514c7f6ba924491b8e5.zip
CMake-6f4727aaa04df63e24e2d514c7f6ba924491b8e5.tar.gz
CMake-6f4727aaa04df63e24e2d514c7f6ba924491b8e5.tar.bz2
Source: Replace C headers with C++ ones
In applicable areas only, of course.
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackDragNDropGenerator.h3
-rw-r--r--Source/CPack/cmCPackLog.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.h b/Source/CPack/cmCPackDragNDropGenerator.h
index 310b0ab..c96d035 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.h
+++ b/Source/CPack/cmCPackDragNDropGenerator.h
@@ -4,12 +4,11 @@
#include "cmConfigure.h" // IWYU pragma: keep
+#include <cstddef>
#include <sstream>
#include <string>
#include <vector>
-#include <stddef.h>
-
#include "cmCPackGenerator.h"
class cmGeneratedFileStream;
diff --git a/Source/CPack/cmCPackLog.h b/Source/CPack/cmCPackLog.h
index 6cec39c..aa9a17f 100644
--- a/Source/CPack/cmCPackLog.h
+++ b/Source/CPack/cmCPackLog.h
@@ -4,12 +4,11 @@
#include "cmConfigure.h" // IWYU pragma: keep
+#include <cstring>
#include <memory>
#include <ostream>
#include <string>
-#include <string.h>
-
#define cmCPack_Log(ctSelf, logType, msg) \
do { \
std::ostringstream cmCPackLog_msg; \