Fully qualify memset and memcpy

And other trivial touches.

Ispired by Lucas's DiscoCheck

No functional change.
This commit is contained in:
Marco Costalba
2013-07-13 17:21:24 +02:00
parent 6960f41e03
commit 4ede49cd85
10 changed files with 20 additions and 22 deletions

View File

@@ -1142,7 +1142,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
stream.str("");
stream << std::showpoint << std::showpos << std::fixed << std::setprecision(2);
memset(scores, 0, 2 * (TOTAL + 1) * sizeof(Score));
std::memset(scores, 0, 2 * (TOTAL + 1) * sizeof(Score));
Value margin;
do_evaluate<true>(pos, margin);