diff options
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 | 
