aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-15 18:21:59 -0700
committerJosh Blum <josh@joshknows.com>2011-03-15 18:21:59 -0700
commit0d0d03d08d13037da2f2f1c85e546addff32aa69 (patch)
tree0e5b823c84f4d00b7c77d07d42be45d24de57362 /host/lib/usrp
parent3a1ad3f13c41a448083100ada6d4162a0092ee58 (diff)
downloaduhd-0d0d03d08d13037da2f2f1c85e546addff32aa69.tar.gz
uhd-0d0d03d08d13037da2f2f1c85e546addff32aa69.tar.bz2
uhd-0d0d03d08d13037da2f2f1c85e546addff32aa69.zip
uhd: replace file_string() with string() for deprecation reasons
Patch from moritz.fischer@student.kit.edu [1] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/deprecated.html [2] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm Boost 1.36 appears to have string(), so this should be safe to use.
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/usrp_e100/usrp_e100_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp b/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp
index 40ea56466..f430090f0 100644
--- a/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp
+++ b/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp
@@ -53,7 +53,7 @@ static device_addrs_t usrp_e100_find(const device_addr_t &hint){
if (fs::exists(hint["node"])){
device_addr_t new_addr;
new_addr["type"] = "usrp-e";
- new_addr["node"] = fs::system_complete(fs::path(hint["node"])).file_string();
+ new_addr["node"] = fs::system_complete(fs::path(hint["node"])).string();
try{
usrp_e100_iface::sptr iface = usrp_e100_iface::make(new_addr["node"]);
new_addr["name"] = iface->mb_eeprom["name"];