diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-02 15:49:53 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-02 15:49:53 -0700 |
commit | 33193a06c1bc197a603f831109533230dc14b4c9 (patch) | |
tree | 9d24eef219b48f9f661a3642efcc36050b1c0f9a /host/lib/usrp/dboard_manager.cpp | |
parent | a4494bc2c985919aee7119ed401c72f41cde206e (diff) | |
download | uhd-33193a06c1bc197a603f831109533230dc14b4c9.tar.gz uhd-33193a06c1bc197a603f831109533230dc14b4c9.tar.bz2 uhd-33193a06c1bc197a603f831109533230dc14b4c9.zip |
replaced the assert falses with an invalid code path exception
Diffstat (limited to 'host/lib/usrp/dboard_manager.cpp')
-rw-r--r-- | host/lib/usrp/dboard_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp index 01352039e..35ddfc4ee 100644 --- a/host/lib/usrp/dboard_manager.cpp +++ b/host/lib/usrp/dboard_manager.cpp @@ -181,7 +181,7 @@ static args_t get_dboard_args( switch(unit){ case dboard_iface::UNIT_RX: return get_dboard_args(unit, 0x0001); case dboard_iface::UNIT_TX: return get_dboard_args(unit, 0x0000); - default: UHD_ASSERT_THROW(false); + default: UHD_THROW_INVALID_CODE_PATH(); } } |