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/lib/device.cpp | |
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/lib/device.cpp')
-rw-r--r-- | host/lib/device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/device.cpp b/host/lib/device.cpp index 0197a6232..706f64951 100644 --- a/host/lib/device.cpp +++ b/host/lib/device.cpp @@ -132,8 +132,8 @@ device::sptr device::make(const device_addr_t &hint, size_t which){ //try to find an existing device try{ - ASSERT_THROW(hash_to_device.has_key(dev_hash)); - ASSERT_THROW(not hash_to_device[dev_hash].expired()); + UHD_ASSERT_THROW(hash_to_device.has_key(dev_hash)); + UHD_ASSERT_THROW(not hash_to_device[dev_hash].expired()); return hash_to_device[dev_hash].lock(); } //create and register a new device |