X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbook.h;h=ccbe813fe40d37ad1ffe9db4f2879733e9246554;hp=ee3f5c5a7a3a3a7b7c87a6ddc6de8088c69963f3;hb=c034cce27c5dfb28f4b3c430e365675710ec96c2;hpb=1373a00187f9f6ee282a77a6039386c2746964b6 diff --git a/src/book.h b/src/book.h index ee3f5c5a..ccbe813f 100644 --- a/src/book.h +++ b/src/book.h @@ -32,6 +32,7 @@ //// Includes //// +#include #include #include "move.h" @@ -74,7 +75,7 @@ private: void read_entry(BookEntry &entry, int n) const; std::string fileName; - FILE *bookFile; + mutable std::ifstream bookFile; int bookSize; };