diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-22 10:26:48 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-22 10:26:48 -0700 |
commit | f1fe66acd4fd32fe0f99548f11e8f4ab28b4c9f1 (patch) | |
tree | 9dff5e16ea44c76baefeeab5c8d5a7c26566e67e /host/lib/usrp/dboard_base.cpp | |
parent | 02be26f6b89869cb7f3ced716cf5447b913d58d5 (diff) | |
download | uhd-f1fe66acd4fd32fe0f99548f11e8f4ab28b4c9f1.tar.gz uhd-f1fe66acd4fd32fe0f99548f11e8f4ab28b4c9f1.tar.bz2 uhd-f1fe66acd4fd32fe0f99548f11e8f4ab28b4c9f1.zip |
usrp: changed opaque pointer implementation for dboard contructor args
Diffstat (limited to 'host/lib/usrp/dboard_base.cpp')
-rw-r--r-- | host/lib/usrp/dboard_base.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard_base.cpp b/host/lib/usrp/dboard_base.cpp index eafb8897f..6c4e29d9e 100644 --- a/host/lib/usrp/dboard_base.cpp +++ b/host/lib/usrp/dboard_base.cpp @@ -26,12 +26,12 @@ using namespace uhd::usrp; * dboard_base dboard dboard_base class **********************************************************************/ struct dboard_base::impl{ - ctor_args_impl args; - impl(ctor_args_t args) : args(*args){} + dboard_ctor_args_t args; }; dboard_base::dboard_base(ctor_args_t args){ - _impl = UHD_PIMPL_MAKE(impl, (args)); + _impl = UHD_PIMPL_MAKE(impl, ()); + _impl->args = *static_cast<dboard_ctor_args_t *>(args); } dboard_base::~dboard_base(void){ |