clang-format

This commit is contained in:
Adam Ierymenko 2025-07-07 12:09:35 -04:00
parent 4efd206dd4
commit db6045fe9c
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3

View file

@ -1751,8 +1751,7 @@ void Bond::processActiveBackupTasks(void* tPtr, int64_t now)
} }
} }
// Sort queue based on performance // Sort queue based on performance
std::sort(_abFailoverQueue.begin(), _abFailoverQueue.end(), std::sort(_abFailoverQueue.begin(), _abFailoverQueue.end(), [this](const int a, const int b) {
[this](const int a, const int b) {
// Sort by failover score in descending order (highest score first) // Sort by failover score in descending order (highest score first)
return _paths[a].failoverScore > _paths[b].failoverScore; return _paths[a].failoverScore > _paths[b].failoverScore;
}); });