소스 검색

clang-format

Adam Ierymenko 2 달 전
부모
커밋
db6045fe9c
1개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 5
      node/Bond.cpp

+ 4 - 5
node/Bond.cpp

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