1
0
Fork 0

Fix build with MSVC 2013

Also add an assert hinted by MSVC code analysis tool.

No functional change.
sf_4_base
Marco Costalba 2013-07-13 13:02:40 +02:00
parent 2a0bbb9faa
commit 404c4122ce
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <algorithm>
#include <cassert>
#include "bitboard.h"

View File

@ -1669,6 +1669,7 @@ void Thread::idle_loop() {
Threads.mutex.lock();
assert(searching);
assert(activeSplitPoint);
SplitPoint* sp = activeSplitPoint;
Threads.mutex.unlock();