summaryrefslogtreecommitdiffstats
path: root/Utilities/std/cm/string_view
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/std/cm/string_view')
-rw-r--r--Utilities/std/cm/string_view4
1 files changed, 1 insertions, 3 deletions
diff --git a/Utilities/std/cm/string_view b/Utilities/std/cm/string_view
index 4d359cb..9542bac 100644
--- a/Utilities/std/cm/string_view
+++ b/Utilities/std/cm/string_view
@@ -3,8 +3,7 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#ifndef cm_string_view
-#define cm_string_view
+#pragma once
#if __cplusplus >= 201703L || defined(_MSVC_LANG) && _MSVC_LANG >= 201703L
# define CMake_HAVE_CXX_STRING_VIEW
@@ -215,4 +214,3 @@ struct hash<cm::string_view>
}
#endif
-#endif