summaryrefslogtreecommitdiff
path: root/Source/cmWhileCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWhileCommand.h')
-rw-r--r--Source/cmWhileCommand.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmWhileCommand.h b/Source/cmWhileCommand.h
index beca652c6..5b8f0783c 100644
--- a/Source/cmWhileCommand.h
+++ b/Source/cmWhileCommand.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 cmWhileCommand_h
-#define cmWhileCommand_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -13,5 +12,3 @@ struct cmListFileArgument;
/// \brief Starts a while loop
bool cmWhileCommand(std::vector<cmListFileArgument> const& args,
cmExecutionStatus& status);
-
-#endif