aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd/utils/gain_group.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/uhd/utils/gain_group.hpp')
-rw-r--r--host/include/uhd/utils/gain_group.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/include/uhd/utils/gain_group.hpp b/host/include/uhd/utils/gain_group.hpp
index 8fe69441f..bfc6a94a6 100644
--- a/host/include/uhd/utils/gain_group.hpp
+++ b/host/include/uhd/utils/gain_group.hpp
@@ -11,7 +11,7 @@
#include <uhd/config.hpp>
#include <uhd/types/ranges.hpp>
#include <uhd/utils/noncopyable.hpp>
-#include <boost/function.hpp>
+#include <functional>
#include <memory>
#include <string>
#include <vector>
@@ -23,9 +23,9 @@ namespace uhd {
*/
struct UHD_API gain_fcns_t
{
- boost::function<gain_range_t(void)> get_range;
- boost::function<double(void)> get_value;
- boost::function<void(double)> set_value;
+ std::function<gain_range_t(void)> get_range;
+ std::function<double(void)> get_value;
+ std::function<void(double)> set_value;
};
class UHD_API gain_group : uhd::noncopyable