diff options
Diffstat (limited to 'lib/usrp/dboard')
-rw-r--r-- | lib/usrp/dboard/base.cpp | 5 |
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){ |