summaryrefslogtreecommitdiffstats
path: root/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-25 16:07:07 -0800
committerJosh Blum <josh@joshknows.com>2010-01-25 16:07:07 -0800
commit998aebf83c2796fdfabc2efd804ca14103adcaaf (patch)
tree7e3675ffc14e41e390369fdeca4b9d7643ae6834 /lib/usrp
parent069a7ce0570001ea3d9512a11d238ea4d6773f1d (diff)
downloaduhd-998aebf83c2796fdfabc2efd804ca14103adcaaf.tar.gz
uhd-998aebf83c2796fdfabc2efd804ca14103adcaaf.tar.bz2
uhd-998aebf83c2796fdfabc2efd804ca14103adcaaf.zip
Various tweaks, switched to boost unit testing.
Diffstat (limited to 'lib/usrp')
-rw-r--r--lib/usrp/dboard/base.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/usrp/dboard/base.cpp b/lib/usrp/dboard/base.cpp
index d8a6e66c2..c80cdadeb 100644
--- a/lib/usrp/dboard/base.cpp
+++ b/lib/usrp/dboard/base.cpp
@@ -9,9 +9,8 @@ using namespace usrp_uhd::usrp::dboard;
/***********************************************************************
* base dboard base class
**********************************************************************/
-base::base(ctor_args_t const& args)
- : _subdev_index(args.get<0>()), _dboard_interface(args.get<1>()){
- /* NOP */
+base::base(ctor_args_t const& args){
+ boost::tie(_subdev_index, _dboard_interface) = args;
}
base::~base(void){