mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Fix some warnings under icc
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -38,7 +38,6 @@
|
|||||||
class History {
|
class History {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
History() { clear(); }
|
|
||||||
void clear();
|
void clear();
|
||||||
Value value(Piece p, Square to) const;
|
Value value(Piece p, Square to) const;
|
||||||
void update(Piece p, Square to, Value bonus);
|
void update(Piece p, Square to, Value bonus);
|
||||||
|
|||||||
2
src/tt.h
2
src/tt.h
@@ -56,7 +56,7 @@ public:
|
|||||||
memset(entries, 0, HashSize * sizeof(Entry));
|
memset(entries, 0, HashSize * sizeof(Entry));
|
||||||
}
|
}
|
||||||
|
|
||||||
~SimpleHash() { delete [] entries; }
|
virtual ~SimpleHash() { delete [] entries; }
|
||||||
|
|
||||||
Entry* find(Key key) const { return entries + ((uint32_t)key & (HashSize - 1)); }
|
Entry* find(Key key) const { return entries + ((uint32_t)key & (HashSize - 1)); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user