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. --- test/usrp_dboard_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/usrp_dboard_test.cpp') diff --git a/test/usrp_dboard_test.cpp b/test/usrp_dboard_test.cpp index 60a10a384..5bd086dc1 100644 --- a/test/usrp_dboard_test.cpp +++ b/test/usrp_dboard_test.cpp @@ -55,6 +55,6 @@ BOOST_AUTO_TEST_CASE(test_manager){ std::cout << "Testing access (will fail later when db code filled in)..." << std::endl; BOOST_CHECK_THROW(mgr0->get_rx_subdev(""), std::invalid_argument); BOOST_CHECK_THROW(mgr0->get_tx_subdev("x"), std::invalid_argument); - (*mgr0->get_rx_subdev("a"))[NULL]; - (*mgr0->get_tx_subdev(""))[NULL]; + mgr0->get_rx_subdev("a")[NULL]; + mgr0->get_tx_subdev("")[NULL]; } -- cgit v1.2.3