Fix an incorrect 'friend' declaration
authorMarco Costalba <mcostalba@gmail.com>
Sun, 23 Mar 2014 10:17:38 +0000 (11:17 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 23 Mar 2014 10:17:38 +0000 (11:17 +0100)
Spotted by Lee David.

No functional change.

src/tt.h

index dc423dd2efb08e480bf1774100cc65e2f1936bb6..ff3605daa306b121c56f9aa3cf7c38b400ebcf97 100644 (file)
--- a/src/tt.h
+++ b/src/tt.h
@@ -54,7 +54,7 @@ struct TTEntry {
   Value eval_value() const { return (Value)evalValue; }
 
 private:
-  friend struct TranspositionTable;
+  friend class TranspositionTable;
 
   uint32_t key32;
   uint16_t move16;