diff options
Diffstat (limited to 'host/lib/include/uhdlib/usrp')
-rw-r--r-- | host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp | 2 | ||||
-rw-r--r-- | host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp index b9e81074b..1acbe6463 100644 --- a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp +++ b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp @@ -42,7 +42,7 @@ class ad9361_ctrl : public boost::noncopyable public: typedef boost::shared_ptr<ad9361_ctrl> sptr; - virtual ~ad9361_ctrl(void) {}; + virtual ~ad9361_ctrl(void) {} //! make a new codec control object static sptr make_spi( diff --git a/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp b/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp index 7934b1050..7abbe69ed 100644 --- a/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp +++ b/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp @@ -16,6 +16,7 @@ #include <boost/format.hpp> #include <boost/shared_ptr.hpp> #include <stdint.h> +#include <functional> namespace uhd { namespace usrp { @@ -71,8 +72,8 @@ public: * \throws a uhd::runtime_error if the loopback value didn't match. */ virtual void loopback_self_test( - boost::function<void(uint32_t)> poker_functor, - boost::function<uint64_t()> peeker_functor + std::function<void(uint32_t)> poker_functor, + std::function<uint64_t()> peeker_functor ) = 0; /*! Determine a tick rate that will work with a given sampling rate |