summaryrefslogtreecommitdiffstats
path: root/Utilities/std/cmext/string_view
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/std/cmext/string_view')
-rw-r--r--Utilities/std/cmext/string_view5
1 files changed, 1 insertions, 4 deletions
diff --git a/Utilities/std/cmext/string_view b/Utilities/std/cmext/string_view
index ad52b11..369cc90 100644
--- a/Utilities/std/cmext/string_view
+++ b/Utilities/std/cmext/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 cmext_string_view
-#define cmext_string_view
+#pragma once
#include <cstddef>
@@ -38,5 +37,3 @@ inline static_string_view operator"" _s(const char* data, size_t size)
} // namespace cm
using cm::operator"" _s;
-
-#endif