mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Fully qualify memset and memcpy
And other trivial touches. Ispired by Lucas's DiscoCheck No functional change.
This commit is contained in:
@@ -60,7 +60,7 @@ void TranspositionTable::set_size(size_t mbSize) {
|
||||
|
||||
void TranspositionTable::clear() {
|
||||
|
||||
memset(table, 0, (hashMask + ClusterSize) * sizeof(TTEntry));
|
||||
std::memset(table, 0, (hashMask + ClusterSize) * sizeof(TTEntry));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user