diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 8f6e52523..84087c6f1 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -338,7 +338,7 @@ device_addrs_t x300_find(const device_addr_t &hint_) bool found_serial = false; //signal to break out of the interface loop for (device_addrs_t::iterator new_addr_it=new_addrs.begin(); new_addr_it != new_addrs.end(); new_addr_it++) { if ((*new_addr_it)["serial"] == hint["serial"]) { - addrs.emplace(addrs.begin(), *new_addr_it); + addrs.insert(addrs.begin(), *new_addr_it); found_serial = true; break; } |