mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Fix build with MSVC 2013
Also add an assert hinted by MSVC code analysis tool. No functional change.
This commit is contained in:
parent
2a0bbb9faa
commit
404c4122ce
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue