]> git.sesse.net Git - stockfish/blobdiff - src/tt.h
Fix an incorrect 'friend' declaration
[stockfish] / 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:
   Value eval_value() const { return (Value)evalValue; }
 
 private:
-  friend struct TranspositionTable;
+  friend class TranspositionTable;
 
   uint32_t key32;
   uint16_t move16;
 
   uint32_t key32;
   uint16_t move16;