aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/types/dict.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/types/dict.ipp b/host/include/uhd/types/dict.ipp
index 9ff64ee2b..b172d17f1 100644
--- a/host/include/uhd/types/dict.ipp
+++ b/host/include/uhd/types/dict.ipp
@@ -117,7 +117,7 @@ namespace uhd{
if (this->size() != other.size()){
return false;
}
- for(auto &p : _map){
+ BOOST_FOREACH(const pair_t& p, _map) {
if (not (other.has_key(p.first) and other.get(p.first) == p.second)){
return false;
}