From: Marco Costalba Date: Sat, 20 Jun 2009 11:56:31 +0000 (+0200) Subject: Fix a couple of warnings under Intel compiler X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=657286b0e53bc7f54d75b68c9d8108df80c67031 Fix a couple of warnings under Intel compiler No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/material.h b/src/material.h index 62f4f9a0..7730a4c9 100644 --- a/src/material.h +++ b/src/material.h @@ -59,7 +59,7 @@ public: Value evaluate(const Position& pos) const; private: - void clear(); + inline void clear(); Key key; int16_t mgValue; diff --git a/src/pawns.h b/src/pawns.h index abb4e52f..4b4a8a55 100644 --- a/src/pawns.h +++ b/src/pawns.h @@ -59,7 +59,7 @@ public: void setKingShelter(Color c, Square ksq, int value); private: - void clear(); + inline void clear(); Key key; Bitboard passedPawns;