diff --git a/Source/iop/Iop_Usbd.h b/Source/iop/Iop_Usbd.h index 6af88c6271..b0deafa8d6 100644 --- a/Source/iop/Iop_Usbd.h +++ b/Source/iop/Iop_Usbd.h @@ -22,7 +22,7 @@ namespace Iop template DeviceType* GetDevice() { - auto& devicePairIterator = m_devices.find(DeviceType::DEVICE_ID); + auto devicePairIterator = m_devices.find(DeviceType::DEVICE_ID); if(devicePairIterator == std::end(m_devices)) { return nullptr;