diff options
Diffstat (limited to 'host/lib/usrp/dboard/db_unknown.cpp')
-rw-r--r-- | host/lib/usrp/dboard/db_unknown.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard/db_unknown.cpp b/host/lib/usrp/dboard/db_unknown.cpp index cfa4e31fe..2640ad607 100644 --- a/host/lib/usrp/dboard/db_unknown.cpp +++ b/host/lib/usrp/dboard/db_unknown.cpp @@ -13,8 +13,8 @@ #include <uhd/usrp/dboard_manager.hpp> #include <boost/assign/list_of.hpp> #include <boost/format.hpp> -#include <boost/tuple/tuple.hpp> #include <vector> +#include <tuple> using namespace uhd; using namespace uhd::usrp; @@ -24,7 +24,7 @@ using namespace boost::assign; * Utility functions **********************************************************************/ static void warn_if_old_rfx(const dboard_id_t &dboard_id, const std::string &xx){ - typedef boost::tuple<std::string, dboard_id_t, dboard_id_t> old_ids_t; //name, rx_id, tx_id + typedef std::tuple<std::string, dboard_id_t, dboard_id_t> old_ids_t; //name, rx_id, tx_id static const std::vector<old_ids_t> old_rfx_ids = list_of (old_ids_t("Flex 400 Classic", 0x0004, 0x0008)) (old_ids_t("Flex 900 Classic", 0x0005, 0x0009)) @@ -34,7 +34,7 @@ static void warn_if_old_rfx(const dboard_id_t &dboard_id, const std::string &xx) ; for(const old_ids_t &old_id: old_rfx_ids){ std::string name; dboard_id_t rx_id, tx_id; - boost::tie(name, rx_id, tx_id) = old_id; + std::tie(name, rx_id, tx_id) = old_id; if ( (xx == "RX" and rx_id == dboard_id) or (xx == "TX" and tx_id == dboard_id) |