Normalize some variable names and reuse existing logic

closes https://github.com/official-stockfish/Stockfish/pull/5346

No functional change
This commit is contained in:
Disservin
2024-06-03 19:47:34 +02:00
parent 86b564055d
commit ba06671aa9
3 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -137,10 +137,10 @@ void update_all_stats(const Position& pos,
Search::Worker::Worker(SharedState& sharedState,
std::unique_ptr<ISearchManager> sm,
size_t thread_id,
size_t threadId,
NumaReplicatedAccessToken token) :
// Unpack the SharedState struct into member variables
thread_idx(thread_id),
threadIdx(threadId),
numaAccessToken(token),
manager(std::move(sm)),
options(sharedState.options),