mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Retire struct OptionsMap
Directly use the underlying std::map instead and avoid a useless inheritance. As a nice side-effect Options global object has now a default c'tor avoiding possible issues with globals initializations. Suggested by Rein Halbersma. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -28,13 +28,14 @@
|
||||
#include "tt.h"
|
||||
#include "ucioption.h"
|
||||
|
||||
extern void uci_loop(const std::string&);
|
||||
extern void kpk_bitbase_init();
|
||||
void uci_loop(const std::string&);
|
||||
void kpk_bitbase_init();
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
|
||||
std::cout << engine_info() << std::endl;
|
||||
|
||||
UCIOptions::init(Options);
|
||||
Bitboards::init();
|
||||
Position::init();
|
||||
kpk_bitbase_init();
|
||||
|
||||
Reference in New Issue
Block a user