From 657286b0e53bc7f54d75b68c9d8108df80c67031 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 20 Jun 2009 13:56:31 +0200 Subject: [PATCH 1/1] Fix a couple of warnings under Intel compiler No functional change. Signed-off-by: Marco Costalba --- src/material.h | 2 +- src/pawns.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2