summaryrefslogtreecommitdiff
path: root/Source/cmTimestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTimestamp.h')
-rw-r--r--Source/cmTimestamp.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmTimestamp.h b/Source/cmTimestamp.h
index 40338f8b2..8941abe1c 100644
--- a/Source/cmTimestamp.h
+++ b/Source/cmTimestamp.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 cmTimestamp_h
-#define cmTimestamp_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -30,5 +29,3 @@ private:
std::string AddTimestampComponent(char flag, struct tm& timeStruct,
time_t timeT) const;
};
-
-#endif