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/lib/usrp/dboard_manager.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/lib/usrp/dboard_manager.cpp')
-rw-r--r-- | host/lib/usrp/dboard_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp index d73a698ae..5a98bb8eb 100644 --- a/host/lib/usrp/dboard_manager.cpp +++ b/host/lib/usrp/dboard_manager.cpp @@ -189,7 +189,7 @@ static args_t get_dboard_args( //verify that there is a registered constructor for this id if (not get_id_to_args_map().has_key(dboard_id)){ - uhd::print_warning(str(boost::format( + uhd::warning::post(str(boost::format( "Unknown dboard ID: %s.\n" ) % dboard_id.to_pp_string())); return get_dboard_args(unit, dboard_id, true); @@ -217,7 +217,7 @@ dboard_manager_impl::dboard_manager_impl( //warn for invalid dboard id xcvr combinations if (rx_dboard_is_xcvr != this_dboard_is_xcvr or tx_dboard_is_xcvr != this_dboard_is_xcvr){ - uhd::print_warning(str(boost::format( + uhd::warning::post(str(boost::format( "Unknown transceiver board ID combination...\n" "RX dboard ID: %s\n" "TX dboard ID: %s\n" |