diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-13 09:22:12 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-13 09:22:12 -0800 |
commit | 97785c838e088f978c8dd2c4c796cdcbeafebffc (patch) | |
tree | 30b6dbbcd145f507cc353df220bf3b80425fdea5 /test | |
parent | 51e5396079d8af7cf8287b586ff2351a19ae8381 (diff) | |
download | uhd-97785c838e088f978c8dd2c4c796cdcbeafebffc.tar.gz uhd-97785c838e088f978c8dd2c4c796cdcbeafebffc.tar.bz2 uhd-97785c838e088f978c8dd2c4c796cdcbeafebffc.zip |
Compiling under old fedora8 with boost 1.37.
Fixed somethings that caused errors and warnings.
Cannot get rid of all warnings on this system.
Diffstat (limited to 'test')
-rw-r--r-- | test/usrp_dboard_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/usrp_dboard_test.cpp b/test/usrp_dboard_test.cpp index a66dfd190..f0ae7a53d 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")[0]; + mgr0->get_tx_subdev("")[0]; } |