aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/utils/narrow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/uhdlib/utils/narrow.hpp')
-rw-r--r--host/lib/include/uhdlib/utils/narrow.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/host/lib/include/uhdlib/utils/narrow.hpp b/host/lib/include/uhdlib/utils/narrow.hpp
index daedd55db..396170e5b 100644
--- a/host/lib/include/uhdlib/utils/narrow.hpp
+++ b/host/lib/include/uhdlib/utils/narrow.hpp
@@ -41,8 +41,7 @@
// [End of GSL license]
///////////////////////////////////////////////////////////////////////////////
-#ifndef INCLUDED_UHDLIB_UTILS_NARROW_HPP
-#define INCLUDED_UHDLIB_UTILS_NARROW_HPP
+#pragma once
#include <uhd/exception.hpp>
#include <utility>
@@ -96,5 +95,3 @@ inline T narrow(U u)
#if defined(_MSC_VER)
# pragma warning(pop)
#endif // _MSC_VER
-
-#endif /* INCLUDED_UHDLIB_UTILS_NARROW_HPP */