This commit is contained in:
WarmUpTill
2025-10-18 10:51:49 +02:00
committed by WarmUpTill
parent badce063eb
commit 9551519cb9
4 changed files with 8 additions and 1 deletions

View File

@@ -111,6 +111,10 @@ std::vector<ThreadPrio> GetThreadPrioMapping()
bool SwitcherData::PrioFuncsValid()
{
if (functionNamesByPriority.empty()) {
return false;
}
auto fNBPCopy = functionNamesByPriority;
std::sort(fNBPCopy.begin(), fNBPCopy.end());