diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-05 11:36:17 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-05 11:36:17 -0800 |
commit | 89152d1ffe452438db46932ebc62d5ccc5b79208 (patch) | |
tree | 47c261e35669fbc8a5e0dd0a1a9db63bcd1a5964 /lib/gain_handler.cpp | |
parent | bff701727b268a87900b5f8445847a3920c23541 (diff) | |
download | uhd-89152d1ffe452438db46932ebc62d5ccc5b79208.tar.gz uhd-89152d1ffe452438db46932ebc62d5ccc5b79208.tar.bz2 uhd-89152d1ffe452438db46932ebc62d5ccc5b79208.zip |
Made get_link the only way to create nested props.
Removed the obj::ptr and sptr typedefs.
The dboard manager now must store not the subdevs, but their proxies.
Diffstat (limited to 'lib/gain_handler.cpp')
-rw-r--r-- | lib/gain_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gain_handler.cpp b/lib/gain_handler.cpp index 3d0c38aa1..8713ad766 100644 --- a/lib/gain_handler.cpp +++ b/lib/gain_handler.cpp @@ -33,7 +33,7 @@ using namespace usrp_uhd; /*! * Helper function to simplify getting a named gain (also min, max, step). */ -static gain_t get_named_gain(wax::obj::ptr wax_obj_ptr, wax::obj prop, std::string name){ +static gain_t get_named_gain(wax::obj *wax_obj_ptr, wax::obj prop, std::string name){ return wax::cast<gain_t>((*wax_obj_ptr)[named_prop_t(prop, name)]); } |