From fc6bb09d170b801a79eca8f5aff59fe159e910dd Mon Sep 17 00:00:00 2001 From: Ruslan Migirov Date: Mon, 30 Sep 2024 21:28:27 +0300 Subject: [PATCH] Fix macOS build --- src/qtgui/ioconfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qtgui/ioconfig.cpp b/src/qtgui/ioconfig.cpp index 939b05c4e..be0e214e7 100644 --- a/src/qtgui/ioconfig.cpp +++ b/src/qtgui/ioconfig.cpp @@ -142,10 +142,10 @@ void CIoConfig::getDeviceList(std::map &devList) // Get list of input devices discovered by gr-soapy and store them in // the device list together with the device descriptor strings - std::vector devices = SoapySDR::Device::enumerate(); + std::vector devs = SoapySDR::Device::enumerate(); qDebug() << __FUNCTION__ << ": Available input devices:"; - for (const auto &dev : devices) + for (const auto &dev : devs) { // Get the device label if (dev.count("label"))