aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/dboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-11 19:13:22 -0800
committerJosh Blum <josh@joshknows.com>2010-11-11 19:13:22 -0800
commitb08ac6273fa6dd1e757ecaeb0b316592696099f7 (patch)
tree09ac154ab9feee90a5ac41c043c45f75448baefe /host/lib/usrp/usrp2/dboard_impl.cpp
parentf22303e6e4a2f425d588439cc05f8b04ef79c1d2 (diff)
downloaduhd-b08ac6273fa6dd1e757ecaeb0b316592696099f7.tar.gz
uhd-b08ac6273fa6dd1e757ecaeb0b316592696099f7.tar.bz2
uhd-b08ac6273fa6dd1e757ecaeb0b316592696099f7.zip
uhd: removed windows warnings, added string formatting in usrp-n
Diffstat (limited to 'host/lib/usrp/usrp2/dboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/dboard_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/dboard_impl.cpp b/host/lib/usrp/usrp2/dboard_impl.cpp
index f839a4058..4192c4f78 100644
--- a/host/lib/usrp/usrp2/dboard_impl.cpp
+++ b/host/lib/usrp/usrp2/dboard_impl.cpp
@@ -64,7 +64,7 @@ void usrp2_mboard_impl::rx_dboard_get(const wax::obj &key_, wax::obj &val){
//handle the get request conditioned on the key
switch(key.as<dboard_prop_t>()){
case DBOARD_PROP_NAME:
- val = std::string(_iface->get_cname() + " dboard (rx unit)");
+ val = _iface->get_cname() + " dboard (rx unit)";
return;
case DBOARD_PROP_SUBDEV:
@@ -121,7 +121,7 @@ void usrp2_mboard_impl::tx_dboard_get(const wax::obj &key_, wax::obj &val){
//handle the get request conditioned on the key
switch(key.as<dboard_prop_t>()){
case DBOARD_PROP_NAME:
- val = std::string(_iface->get_cname() + " dboard (tx unit)");
+ val = _iface->get_cname() + " dboard (tx unit)";
return;
case DBOARD_PROP_SUBDEV: