aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/utils/math.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/uhdlib/utils/math.hpp')
-rw-r--r--host/lib/include/uhdlib/utils/math.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/host/lib/include/uhdlib/utils/math.hpp b/host/lib/include/uhdlib/utils/math.hpp
index 924459ec9..9b11a3eab 100644
--- a/host/lib/include/uhdlib/utils/math.hpp
+++ b/host/lib/include/uhdlib/utils/math.hpp
@@ -6,8 +6,7 @@
// More math, but not meant for public API
-#ifndef INCLUDED_UHDLIB_UTILS_MATH_HPP
-#define INCLUDED_UHDLIB_UTILS_MATH_HPP
+#pragma once
#include <uhdlib/utils/narrow.hpp>
#include <cmath>
@@ -97,5 +96,3 @@ std::pair<IntegerType, IntegerType> rational_approximation(
}} /* namespace uhd::math */
-
-#endif /* INCLUDED_UHDLIB_UTILS_MATH_HPP */