aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_id.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/dboard_id.cpp')
-rw-r--r--host/lib/usrp/dboard_id.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/dboard_id.cpp b/host/lib/usrp/dboard_id.cpp
index 557e13914..b4d458c5f 100644
--- a/host/lib/usrp/dboard_id.cpp
+++ b/host/lib/usrp/dboard_id.cpp
@@ -23,7 +23,7 @@
using namespace uhd::usrp;
-dboard_id_t::dboard_id_t(boost::uint16_t id){
+dboard_id_t::dboard_id_t(uint16_t id){
_id = id;
}
@@ -31,11 +31,11 @@ dboard_id_t dboard_id_t::none(void){
return dboard_id_t();
}
-dboard_id_t dboard_id_t::from_uint16(boost::uint16_t uint16){
+dboard_id_t dboard_id_t::from_uint16(uint16_t uint16){
return dboard_id_t(uint16);
}
-boost::uint16_t dboard_id_t::to_uint16(void) const{
+uint16_t dboard_id_t::to_uint16(void) const{
return _id;
}
@@ -52,11 +52,11 @@ template <class T> struct to_hex{
dboard_id_t dboard_id_t::from_string(const std::string &string){
if (string.substr(0, 2) == "0x"){
std::stringstream interpreter(string);
- to_hex<boost::uint16_t> hh;
+ to_hex<uint16_t> hh;
interpreter >> hh;
return dboard_id_t::from_uint16(hh);
}
- return dboard_id_t::from_uint16(boost::lexical_cast<boost::uint16_t>(string));
+ return dboard_id_t::from_uint16(boost::lexical_cast<uint16_t>(string));
}
std::string dboard_id_t::to_string(void) const{