mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Object OpeningBook doen't need to be global
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -36,13 +36,6 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
////
|
||||
//// Global variables
|
||||
////
|
||||
|
||||
Book OpeningBook;
|
||||
|
||||
|
||||
////
|
||||
//// Local definitions
|
||||
////
|
||||
|
||||
@@ -78,12 +78,4 @@ private:
|
||||
RKISS RKiss;
|
||||
};
|
||||
|
||||
|
||||
////
|
||||
//// Global variables
|
||||
////
|
||||
|
||||
extern Book OpeningBook;
|
||||
|
||||
|
||||
#endif // !defined(BOOK_H_INCLUDED)
|
||||
|
||||
@@ -228,7 +228,10 @@ namespace {
|
||||
const Value EasyMoveMargin = Value(0x200);
|
||||
|
||||
|
||||
/// Global variables
|
||||
/// Namespace variables
|
||||
|
||||
// Book object
|
||||
Book OpeningBook;
|
||||
|
||||
// Iteration counter
|
||||
int Iteration;
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "book.h"
|
||||
#include "evaluate.h"
|
||||
#include "misc.h"
|
||||
#include "move.h"
|
||||
|
||||
Reference in New Issue
Block a user