//// Includes
////
#include <fstream>
+#include <iostream>
#include <vector>
#include "search.h"
if (!fenFile.is_open())
{
cerr << "Unable to open positions file " << posFile << endl;
- Application::exit_with_failure();
+ exit(EXIT_FAILURE);
}
string pos;
while (fenFile.good())
{
Move moves[1] = { MOVE_NONE };
int dummy[2] = { 0, 0 };
- Position pos(*it, 0);
+ Position pos(*it, false, 0);
cerr << "\nBench position: " << cnt << '/' << positions.size() << endl << endl;
if (valType == "perft")
{