aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd/transport/bounded_buffer.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/uhd/transport/bounded_buffer.ipp')
-rw-r--r--host/include/uhd/transport/bounded_buffer.ipp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/transport/bounded_buffer.ipp b/host/include/uhd/transport/bounded_buffer.ipp
index 4db182508..d1058756d 100644
--- a/host/include/uhd/transport/bounded_buffer.ipp
+++ b/host/include/uhd/transport/bounded_buffer.ipp
@@ -12,7 +12,7 @@
#include <uhd/utils/noncopyable.hpp>
#include <boost/bind.hpp>
#include <boost/utility.hpp>
-#include <boost/function.hpp>
+#include <functional>
#include <boost/circular_buffer.hpp>
#include <boost/thread/condition.hpp>
#include <boost/thread/locks.hpp>
@@ -133,7 +133,7 @@ namespace uhd{ namespace transport{
bool not_full(void) const{return not _buffer.full();}
bool not_empty(void) const{return not _buffer.empty();}
- boost::function<bool(void)> _not_full_fcn, _not_empty_fcn;
+ std::function<bool(void)> _not_full_fcn, _not_empty_fcn;
/*!
* Three part operation to pop an element: