aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/device.cpp')
-rw-r--r--host/lib/device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/device.cpp b/host/lib/device.cpp
index 7bf362753..62277134b 100644
--- a/host/lib/device.cpp
+++ b/host/lib/device.cpp
@@ -130,7 +130,7 @@ device::sptr device::make(const device_addr_t& hint, device_filter_t filter, siz
}
// check that we found any devices
- if (dev_addr_makers.size() == 0) {
+ if (dev_addr_makers.empty()) {
throw uhd::key_error(
str(boost::format("No devices found for ----->\n%s") % hint.to_pp_string()));
}