summaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-26 14:42:32 -0700
committerJosh Blum <josh@joshknows.com>2010-04-26 14:42:32 -0700
commit90ed2e3a80eef0be3a7270364335f0e82f004cc1 (patch)
tree1db6d92ba1c5c4086d23e1e19528ce43e778b549 /host/lib/transport
parentf040d79d256bcdfcd931ab93e00b66f6af881a14 (diff)
downloaduhd-90ed2e3a80eef0be3a7270364335f0e82f004cc1.tar.gz
uhd-90ed2e3a80eef0be3a7270364335f0e82f004cc1.tar.bz2
uhd-90ed2e3a80eef0be3a7270364335f0e82f004cc1.zip
prefixed the ASSERT_THROW macro with UHD for the sake of namespace
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/convert_types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/convert_types.cpp b/host/lib/transport/convert_types.cpp
index d7602c049..8c3d6b17a 100644
--- a/host/lib/transport/convert_types.cpp
+++ b/host/lib/transport/convert_types.cpp
@@ -110,7 +110,7 @@ void transport::convert_io_type_to_otw_type(
size_t num_samps
){
//all we handle for now:
- ASSERT_THROW(otw_type.width == 16 and otw_type.byteorder == otw_type_t::BO_BIG_ENDIAN);
+ UHD_ASSERT_THROW(otw_type.width == 16 and otw_type.byteorder == otw_type_t::BO_BIG_ENDIAN);
switch(io_type.tid){
case io_type_t::COMPLEX_FLOAT32:
@@ -130,7 +130,7 @@ void transport::convert_otw_type_to_io_type(
size_t num_samps
){
//all we handle for now:
- ASSERT_THROW(otw_type.width == 16 and otw_type.byteorder == otw_type_t::BO_BIG_ENDIAN);
+ UHD_ASSERT_THROW(otw_type.width == 16 and otw_type.byteorder == otw_type_t::BO_BIG_ENDIAN);
switch(io_type.tid){
case io_type_t::COMPLEX_FLOAT32: