[partition] Fix build in non-debug settings

This commit is contained in:
Adriaan de Groot 2021-06-08 19:51:25 +02:00
parent d71e0a009c
commit dba346be7a

View File

@ -138,7 +138,7 @@ getDevices( DeviceType which )
#else
// Safe partitioning
auto removeInAllModes = []( DeviceList& l, DeviceList::iterator& it) { return erase(l, it); };
auto& removeInSafeMode = removeFromAll;
auto& removeInSafeMode = removeInAllModes;
#endif
cDebug() << "Removing unsuitable devices:" << devices.count() << "candidates.";