summaryrefslogtreecommitdiff
path: root/Source/cmIncludeGuardCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIncludeGuardCommand.h')
-rw-r--r--Source/cmIncludeGuardCommand.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmIncludeGuardCommand.h b/Source/cmIncludeGuardCommand.h
index b86b76015b..c4de3d4be3 100644
--- a/Source/cmIncludeGuardCommand.h
+++ b/Source/cmIncludeGuardCommand.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 cmIncludeGuardCommand_h
-#define cmIncludeGuardCommand_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -18,5 +17,3 @@ class cmExecutionStatus;
*/
bool cmIncludeGuardCommand(std::vector<std::string> const& args,
cmExecutionStatus& status);
-
-#endif