aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/subdev_spec.cpp
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2011-02-01 05:42:36 -0800
committerPhilip Balister <philip@opensdr.com>2011-02-01 05:42:36 -0800
commit781cddee31078e461202c2cf16f3de2f1f236a27 (patch)
treedcd8e1ff8e696dc00b91b425928a3367f05c9a25 /host/lib/usrp/subdev_spec.cpp
parentcd45fb6be615a6f133e2c62a46f7c5eba76f72c1 (diff)
parent52e9c8f8027d0bbe1e6b0f57e30f985613e48be2 (diff)
downloaduhd-781cddee31078e461202c2cf16f3de2f1f236a27.tar.gz
uhd-781cddee31078e461202c2cf16f3de2f1f236a27.tar.bz2
uhd-781cddee31078e461202c2cf16f3de2f1f236a27.zip
Merge branch 'usrp_e100_devel' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e100_devel
Conflicts: host/lib/usrp/usrp_e100/clock_ctrl.cpp
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 51c88bda3..d5d950f1f 100644
--- a/host/lib/usrp/subdev_spec.cpp
+++ b/host/lib/usrp/subdev_spec.cpp
@@ -46,7 +46,7 @@ bool usrp::operator==(const subdev_spec_pair_t &lhs, const subdev_spec_pair_t &r
subdev_spec_t::subdev_spec_t(const std::string &markup){
BOOST_FOREACH(const std::string &pair, pair_tokenizer(markup)){
- if (pair == "") continue;
+ if (pair.empty()) continue;
std::vector<std::string> db_sd; boost::split(db_sd, pair, boost::is_any_of(":"));
switch(db_sd.size()){
case 1: this->push_back(subdev_spec_pair_t("", db_sd.front())); break;