diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-26 14:42:32 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-26 14:42:32 -0700 |
commit | 90ed2e3a80eef0be3a7270364335f0e82f004cc1 (patch) | |
tree | 1db6d92ba1c5c4086d23e1e19528ce43e778b549 /host/include | |
parent | f040d79d256bcdfcd931ab93e00b66f6af881a14 (diff) | |
download | uhd-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/include')
-rw-r--r-- | host/include/uhd/utils/assert.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/utils/assert.hpp b/host/include/uhd/utils/assert.hpp index 773acd634..01beed757 100644 --- a/host/include/uhd/utils/assert.hpp +++ b/host/include/uhd/utils/assert.hpp @@ -37,7 +37,7 @@ namespace uhd{ typedef boost::error_info<struct tag_assert_info, std::string> assert_info; //! Throw an assert error with throw-site information - #define ASSERT_THROW(_x) if (not (_x)) \ + #define UHD_ASSERT_THROW(_x) if (not (_x)) \ BOOST_THROW_EXCEPTION(uhd::assert_error() << uhd::assert_info(#_x)) /*! |