summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
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);