diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-26 14:14:01 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-26 14:14:01 -0700 |
commit | cea3d05095202413be12cd4792ab9f781cbccef7 (patch) | |
tree | 0b588edfcf3f1173abfcf9c656fac3e824e2d532 /host/test/warning_test.cpp | |
parent | 0168bff835371140c0d75cc381e3228f8093fe70 (diff) | |
download | uhd-cea3d05095202413be12cd4792ab9f781cbccef7.tar.gz uhd-cea3d05095202413be12cd4792ab9f781cbccef7.tar.bz2 uhd-cea3d05095202413be12cd4792ab9f781cbccef7.zip |
uhd: replaced print warning with a post warning call and registry
renamed print warning calls in the implementation
fixed issue with dict::pop so it now works even if the value is not comparable
Diffstat (limited to 'host/test/warning_test.cpp')
-rw-r--r-- | host/test/warning_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/test/warning_test.cpp b/host/test/warning_test.cpp index 6202c4270..db19955de 100644 --- a/host/test/warning_test.cpp +++ b/host/test/warning_test.cpp @@ -19,9 +19,9 @@ #include <uhd/utils/warning.hpp> #include <iostream> -BOOST_AUTO_TEST_CASE(test_print_warning){ +BOOST_AUTO_TEST_CASE(test_warning_post){ std::cerr << "---begin print test ---" << std::endl; - uhd::print_warning( + uhd::warning::post( "This is a test print for a warning message.\n" "And this is the second line of the test print.\n" ); |