]> git.sesse.net Git - stockfish/blobdiff - src/book.h
Move __cpuid() definition for gcc in types.h
[stockfish] / src / book.h
index 33f72fb517333f0fb511d1d74c1a0fe409742bd6..1b7b72c4d90c0f9b326c1657a9db891cc7e1337b 100644 (file)
@@ -53,11 +53,14 @@ struct BookEntry {
 };
 
 class Book : private std::ifstream {
+  Book(const Book&); // just decleared..
+  Book& operator=(const Book&); // ..to avoid a warning
 public:
+  Book() {}
   ~Book();
   void open(const std::string& fName);
   void close();
-  const std::string file_name() const;
+  const std::string file_name();
   Move get_move(const Position& pos);
 
 private: