aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/b2xx_fx3_utils.cpp
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-09-18 14:18:26 -0700
committerJosh Blum <josh@joshknows.com>2013-09-20 12:05:29 -0700
commit0c5099ab4d699a2297e2d1262d79b091aa99c09a (patch)
treec53b37bb52a2f3a5e388df47a0ba8f40e145c22c /host/utils/b2xx_fx3_utils.cpp
parentfeabc1c7bb6818e14fb01725098994138e1a9af7 (diff)
downloaduhd-0c5099ab4d699a2297e2d1262d79b091aa99c09a.tar.gz
uhd-0c5099ab4d699a2297e2d1262d79b091aa99c09a.tar.bz2
uhd-0c5099ab4d699a2297e2d1262d79b091aa99c09a.zip
utils: fixed b2xx_fx3_utils bug with older versions of Boost
Diffstat (limited to 'host/utils/b2xx_fx3_utils.cpp')
-rw-r--r--host/utils/b2xx_fx3_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/b2xx_fx3_utils.cpp b/host/utils/b2xx_fx3_utils.cpp
index bdd102681..36688c6c7 100644
--- a/host/utils/b2xx_fx3_utils.cpp
+++ b/host/utils/b2xx_fx3_utils.cpp
@@ -543,7 +543,7 @@ boost::int32_t main(boost::int32_t argc, char *argv[]) {
for(std::set<fs::path>::iterator it = globbed.begin();
it != globbed.end(); ++it) {
- std::string file = (*it).filename().string();
+ std::string file = fs::path((*it).filename()).string();
if(file.compare(0, 5, "0000:") == 0) {
/* Un-bind the device. */