]> git.sesse.net Git - stockfish/blobdiff - src/book.h
Fix a couple of new MSVC 2010 warnings
[stockfish] / src / book.h
index 33f72fb517333f0fb511d1d74c1a0fe409742bd6..b68f7bfcadb8ad258c4a8a0da0182e9f8fd479d2 100644 (file)
@@ -53,7 +53,10 @@ 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();