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 dc423dd..ff3605d 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;