aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/subdev_spec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/subdev_spec.cpp')
-rw-r--r--host/lib/usrp/subdev_spec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/subdev_spec.cpp b/host/lib/usrp/subdev_spec.cpp
index 0d271e832..657584e92 100644
--- a/host/lib/usrp/subdev_spec.cpp
+++ b/host/lib/usrp/subdev_spec.cpp
@@ -63,7 +63,7 @@ subdev_spec_t::subdev_spec_t(const std::string& markup)
std::string subdev_spec_t::to_pp_string(void) const
{
- if (this->size() == 0)
+ if (this->empty())
return "Empty Subdevice Specification";
std::stringstream ss;