summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-05 18:11:32 -0700
committerJosh Blum <josh@joshknows.com>2010-04-05 18:11:32 -0700
commited5cb33eb402c5d34c330d1b9dcb99658c628a72 (patch)
treebb0a96351c4ce770b5f468558c1b8ff056f05e8e /host/include
parent57f1f769e5e5bb07a5385955eee9390d0e1de908 (diff)
downloaduhd-ed5cb33eb402c5d34c330d1b9dcb99658c628a72.tar.gz
uhd-ed5cb33eb402c5d34c330d1b9dcb99658c628a72.tar.bz2
uhd-ed5cb33eb402c5d34c330d1b9dcb99658c628a72.zip
renamed dict get key and value methods
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/types/dict.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/types/dict.hpp b/host/include/uhd/types/dict.hpp
index 22f702575..c8fbc5a9f 100644
--- a/host/include/uhd/types/dict.hpp
+++ b/host/include/uhd/types/dict.hpp
@@ -73,7 +73,7 @@ namespace uhd{
* Key order depends on insertion precedence.
* \return vector of keys
*/
- std::vector<Key> get_keys(void) const{
+ const std::vector<Key> keys(void) const{
std::vector<Key> keys;
BOOST_FOREACH(const pair_t &p, _map){
keys.push_back(p.first);
@@ -86,7 +86,7 @@ namespace uhd{
* Value order depends on insertion precedence.
* \return vector of values
*/
- std::vector<Val> get_vals(void) const{
+ const std::vector<Val> vals(void) const{
std::vector<Val> vals;
BOOST_FOREACH(const pair_t &p, _map){
vals.push_back(p.second);