Fix build with MSVC 2013
Also add an assert hinted by MSVC code analysis tool. No functional change.sf_4_base
parent
2a0bbb9faa
commit
404c4122ce
|
@ -17,6 +17,7 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
#include "bitboard.h"
|
||||
|
|
|
@ -1669,6 +1669,7 @@ void Thread::idle_loop() {
|
|||
Threads.mutex.lock();
|
||||
|
||||
assert(searching);
|
||||
assert(activeSplitPoint);
|
||||
SplitPoint* sp = activeSplitPoint;
|
||||
|
||||
Threads.mutex.unlock();
|
||||
|
|
Loading…
Reference in New Issue