From 89152d1ffe452438db46932ebc62d5ccc5b79208 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 5 Feb 2010 11:36:17 -0800 Subject: 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. --- lib/gain_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gain_handler.cpp') 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((*wax_obj_ptr)[named_prop_t(prop, name)]); } -- cgit v1.2.3