summaryrefslogtreecommitdiff
path: root/Source/cmXMLSafe.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmXMLSafe.h')
-rw-r--r--Source/cmXMLSafe.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmXMLSafe.h b/Source/cmXMLSafe.h
index 9aaf2d1578..9b4c539e5b 100644
--- a/Source/cmXMLSafe.h
+++ b/Source/cmXMLSafe.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 cmXMLSafe_h
-#define cmXMLSafe_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -33,5 +32,3 @@ private:
bool DoQuotes;
friend std::ostream& operator<<(std::ostream&, cmXMLSafe const&);
};
-
-#endif