diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-31 18:05:16 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-31 18:05:16 -0800 |
commit | 52e9c8f8027d0bbe1e6b0f57e30f985613e48be2 (patch) | |
tree | 44bb54695dfc8a0ba552085a1f9625d7d85d37ab /host/lib/usrp/subdev_spec.cpp | |
parent | 572a64f0acb459583abfccbc8288158822fa2f77 (diff) | |
parent | 67bba008255f98367cf19dba518dceb40f763c25 (diff) | |
download | uhd-52e9c8f8027d0bbe1e6b0f57e30f985613e48be2.tar.gz uhd-52e9c8f8027d0bbe1e6b0f57e30f985613e48be2.tar.bz2 uhd-52e9c8f8027d0bbe1e6b0f57e30f985613e48be2.zip |
Merge branch 'multi_usrp_only' into usrp_e100_devel
Diffstat (limited to 'host/lib/usrp/subdev_spec.cpp')
-rw-r--r-- | host/lib/usrp/subdev_spec.cpp | 2 |
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; |