mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Rename MoveStack to ExtMove
Stack has no meaning here, while ExtMove (extended move), better clarifies that we have a move + a score. No functional change.
This commit is contained in:
@@ -313,12 +313,12 @@ inline Score operator/(Score s, int i) {
|
||||
|
||||
extern Value PieceValue[PHASE_NB][PIECE_NB];
|
||||
|
||||
struct MoveStack {
|
||||
struct ExtMove {
|
||||
Move move;
|
||||
int score;
|
||||
};
|
||||
|
||||
inline bool operator<(const MoveStack& f, const MoveStack& s) {
|
||||
inline bool operator<(const ExtMove& f, const ExtMove& s) {
|
||||
return f.score < s.score;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user