diff options
| author | Josh Blum <josh@joshknows.com> | 2010-02-01 12:35:34 -0800 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2010-02-01 12:35:34 -0800 | 
| commit | cc8caeb1230fbaed4a6bc64848a584d51b69362a (patch) | |
| tree | 086264364fe1d9d1f790a077cd7d9f3219cc369a /test/device_test.cpp | |
| parent | 5e455ca92280e3c22f5484cb81a2aef0cdfb5de4 (diff) | |
| download | uhd-cc8caeb1230fbaed4a6bc64848a584d51b69362a.tar.gz uhd-cc8caeb1230fbaed4a6bc64848a584d51b69362a.tar.bz2 uhd-cc8caeb1230fbaed4a6bc64848a584d51b69362a.zip | |
Work on the properties framwork with wax::obj.
Now the obj handles all 3 things in 1, properties, polymorphic container, proxy.
Diffstat (limited to 'test/device_test.cpp')
| -rw-r--r-- | test/device_test.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/device_test.cpp b/test/device_test.cpp index 863be4351..328ea9c0c 100644 --- a/test/device_test.cpp +++ b/test/device_test.cpp @@ -31,7 +31,7 @@ BOOST_AUTO_TEST_CASE(test_device){      std::cout << wax::cast<std::string>((*dev)[DEVICE_PROP_NAME]) << std::endl;      std::cout << "Access the mboard" << std::endl; -    wax::proxy mb0 = (*dev)[DEVICE_PROP_MBOARD]; +    wax::obj mb0 = (*dev)[DEVICE_PROP_MBOARD];      std::cout << wax::cast<std::string>(mb0[MBOARD_PROP_NAME]) << std::endl;      BOOST_CHECK_EQUAL(          device_addr.virtual_args.num_dboards, | 
