Use prefix operators wherever possible

No functional change.
This commit is contained in:
Lucas Braesch
2013-10-03 12:01:38 +08:00
committed by Marco Costalba
parent bd1c3ed7e3
commit 7f142d6817
16 changed files with 43 additions and 43 deletions

View File

@@ -296,7 +296,7 @@ void Thread::split(Position& pos, const Stack* ss, Value alpha, Value beta, Valu
Threads.mutex.lock();
sp.mutex.lock();
splitPointsSize++;
++splitPointsSize;
activeSplitPoint = &sp;
activePosition = NULL;
@@ -336,7 +336,7 @@ void Thread::split(Position& pos, const Stack* ss, Value alpha, Value beta, Valu
}
searching = true;
splitPointsSize--;
--splitPointsSize;
activeSplitPoint = sp.parentSplitPoint;
activePosition = &pos;
pos.set_nodes_searched(pos.nodes_searched() + sp.nodes);