aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_mboard_impl.cpp')
-rw-r--r--host/lib/usrp/mpmd/mpmd_mboard_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp b/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
index 6df78a9dd..797a3edff 100644
--- a/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
+++ b/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
@@ -272,7 +272,7 @@ boost::optional<device_addr_t> mpmd_mboard_impl::is_device_reachable(
auto chdr_rpcc = uhd::rpc_client::make(chdr_addr, rpc_port);
chdr_rpcc->set_timeout(MPMD_SHORT_RPC_TIMEOUT);
chdr_rpcc->request<dev_info>("get_device_info");
- auto device_addr_copy{device_addr};
+ device_addr_t device_addr_copy = device_addr;
device_addr_copy["addr"] = chdr_addr;
return boost::optional<device_addr_t>(device_addr_copy);
} catch (...) {