summaryrefslogtreecommitdiff
path: root/Source/CPack/cmCPackLog.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CPack/cmCPackLog.h')
-rw-r--r--Source/CPack/cmCPackLog.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/CPack/cmCPackLog.h b/Source/CPack/cmCPackLog.h
index 68ffccee9..6cec39cd8 100644
--- a/Source/CPack/cmCPackLog.h
+++ b/Source/CPack/cmCPackLog.h
@@ -1,7 +1,6 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#ifndef cmCPackLog_h
-#define cmCPackLog_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -139,5 +138,3 @@ inline std::ostream& operator<<(std::ostream& os, const cmCPackLogWrite& c)
os.flush();
return os;
}
-
-#endif