X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftt.h;fp=src%2Ftt.h;h=c11cf0852209e0215b0991f4cce766082dc3a722;hb=fce4cc1829f25fd52c5dd637ab54d867eec065fb;hp=df962faaa7b67ec526169ef55de4b2c8ef1d9efe;hpb=952740b36ca46961a64457767f58dfbe71ae1ead;p=stockfish diff --git a/src/tt.h b/src/tt.h index df962faa..c11cf085 100644 --- a/src/tt.h +++ b/src/tt.h @@ -40,12 +40,12 @@ namespace Stockfish { struct TTEntry { - Move move() const { return (Move )move16; } - Value value() const { return (Value)value16; } - Value eval() const { return (Value)eval16; } - Depth depth() const { return (Depth)depth8 + DEPTH_OFFSET; } - bool is_pv() const { return (bool)(genBound8 & 0x4); } - Bound bound() const { return (Bound)(genBound8 & 0x3); } + Move move() const { return Move (move16); } + Value value() const { return Value(value16); } + Value eval() const { return Value(eval16); } + Depth depth() const { return Depth(depth8 + DEPTH_OFFSET); } + bool is_pv() const { return bool (genBound8 & 0x4); } + Bound bound() const { return Bound(genBound8 & 0x3); } void save(Key k, Value v, bool pv, Bound b, Depth d, Move m, Value ev); private: