Permalink
Browse files

WLDEntryPiece -> WDLEntryPiece for consistency

No functional change.
  • Loading branch information...
niklasf committed Oct 5, 2017
1 parent 452e515 commit b36489742b3cfd045c1960fa299199401cd0265d
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/syzygy/tbprobe.cpp
View
@@ -133,16 +133,16 @@ struct Atomic {
std::atomic_bool ready;
};
// We define types for the different parts of the WLDEntry and DTZEntry with
// We define types for the different parts of the WDLEntry and DTZEntry with
// corresponding specializations for pieces or pawns.
struct WLDEntryPiece {
struct WDLEntryPiece {
PairsData* precomp;
};
struct WDLEntryPawn {
uint8_t pawnCount[2]; // [Lead color / other color]
WLDEntryPiece file[2][4]; // [wtm / btm][FILE_A..FILE_D]
WDLEntryPiece file[2][4]; // [wtm / btm][FILE_A..FILE_D]
};
struct DTZEntryPiece {
@@ -172,7 +172,7 @@ struct WDLEntry : public TBEntry {
WDLEntry(const std::string& code);
~WDLEntry();
union {
WLDEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPawn pawnTable;
};
};

0 comments on commit b364897

Please sign in to comment.