summaryrefslogtreecommitdiffstats
path: root/Source/cmRange.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmRange.h')
-rw-r--r--Source/cmRange.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmRange.h b/Source/cmRange.h
index 3be5193..30af7d2 100644
--- a/Source/cmRange.h
+++ b/Source/cmRange.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 cmRange_h
-#define cmRange_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -235,5 +234,3 @@ auto cmReverseRange(Range const& range) -> cmRange<decltype(range.rbegin())>
{
return { range.rbegin(), range.rend() };
}
-
-#endif