diff --git a/devices/plutosdr/deviceplutosdrscan.cpp b/devices/plutosdr/deviceplutosdrscan.cpp index 68e94cc3f..8999435dc 100644 --- a/devices/plutosdr/deviceplutosdrscan.cpp +++ b/devices/plutosdr/deviceplutosdrscan.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include @@ -82,9 +83,9 @@ void DevicePlutoSDRScan::scan() DeviceScan({ std::string(description), std::string("TBD"), - fixedUri + std::move(fixedUri) })); - m_scans.push_back(dev_scan); + m_scans.push_back(std::move(dev_scan)); m_urilMap[m_scans.back()->m_uri] = m_scans.back(); std::regex desc_regex(".*serial=(.+)");