summaryrefslogtreecommitdiffstats
path: root/host/lib/device.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-12 13:55:57 +0000
committerJosh Blum <josh@joshknows.com>2010-04-12 13:55:57 +0000
commit615f7081d8361643031437ac31bb4a44e41839e8 (patch)
treef092991d1f3ff97fa53d9373c90e358105c4ff79 /host/lib/device.cpp
parent50780640a1b9ed6abb2abebbc727ce19711fbcb4 (diff)
parent34854116a4fd287fe681222f2b7a881692e418d3 (diff)
downloaduhd-615f7081d8361643031437ac31bb4a44e41839e8.tar.gz
uhd-615f7081d8361643031437ac31bb4a44e41839e8.tar.bz2
uhd-615f7081d8361643031437ac31bb4a44e41839e8.zip
Merge branch 'master' into usrp_e
Diffstat (limited to 'host/lib/device.cpp')
-rw-r--r--host/lib/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/device.cpp b/host/lib/device.cpp
index 27a365d34..0197a6232 100644
--- a/host/lib/device.cpp
+++ b/host/lib/device.cpp
@@ -42,7 +42,7 @@ static size_t hash_device_addr(
const device_addr_t &dev_addr
){
//sort the keys of the device address
- std::vector<std::string> keys = dev_addr.get_keys();
+ std::vector<std::string> keys = dev_addr.keys();
std::sort(keys.begin(), keys.end());
//combine the hashes of sorted keys/value pairs
@@ -99,7 +99,7 @@ device::sptr device::make(const device_addr_t &hint, size_t which){
BOOST_FOREACH(device_addr_t dev_addr, fcn.get<0>()(hint)){
//copy keys that were in hint but not in dev_addr
//this way, we can pass additional transport arguments
- BOOST_FOREACH(const std::string &key, hint.get_keys()){
+ BOOST_FOREACH(const std::string &key, hint.keys()){
if (not dev_addr.has_key(key)) dev_addr[key] = hint[key];
}
//append the discovered address and its factory function