Have fun with union in book.cpp

Fancy way to use an union to map polyglot
zobrist keys in one go.

Also some renaming while there.

No functional change.
This commit is contained in:
Marco Costalba
2013-01-05 15:24:18 +01:00
parent bff65a211f
commit 9b1cf3cf43
4 changed files with 34 additions and 33 deletions
+2 -2
View File
@@ -36,9 +36,9 @@ private:
template<typename T> PolyglotBook& operator>>(T& n);
bool open(const char* fName);
size_t find_first(uint64_t key);
size_t find_first(Key key);
RKISS RKiss;
RKISS rkiss;
std::string fileName;
};