aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd/utils/scope_exit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/uhd/utils/scope_exit.hpp')
-rw-r--r--host/include/uhd/utils/scope_exit.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/host/include/uhd/utils/scope_exit.hpp b/host/include/uhd/utils/scope_exit.hpp
index 0e4a01382..47729c049 100644
--- a/host/include/uhd/utils/scope_exit.hpp
+++ b/host/include/uhd/utils/scope_exit.hpp
@@ -4,8 +4,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
//
-#ifndef INCLUDED_UHD_SCOPE_EXIT_HPP
-#define INCLUDED_UHD_SCOPE_EXIT_HPP
+#pragma once
#include <functional>
#include <memory>
@@ -50,5 +49,3 @@ private:
};
}} // namespace uhd::utils
-
-#endif /* INCLUDED_UHD_SCOPE_EXIT_HPP */