diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp b/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp index a10edd13c9..9f7e708593 100644 --- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp +++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp @@ -261,12 +261,7 @@ std::vector> DeviceContainer::GetAllDevices() const { std::lock_guard lk(m_devices_mutex); - std::vector> devices; - - for (const auto& d : m_devices) - devices.emplace_back(d); - - return devices; + return m_devices; } std::vector DeviceContainer::GetAllDeviceStrings() const