summaryrefslogtreecommitdiff
path: root/Source/cmUVStreambuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmUVStreambuf.h')
-rw-r--r--Source/cmUVStreambuf.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmUVStreambuf.h b/Source/cmUVStreambuf.h
index 50faede83..efe45de05 100644
--- a/Source/cmUVStreambuf.h
+++ b/Source/cmUVStreambuf.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 cmUVStreambuf_h
-#define cmUVStreambuf_h
+#pragma once
#include <algorithm>
#include <cstring>
@@ -215,5 +214,3 @@ void cmBasicUVStreambuf<CharT, Traits>::StreamRead(ssize_t nread)
}
using cmUVStreambuf = cmBasicUVStreambuf<char>;
-
-#endif