mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Fix some Clang warnings
Found by Clang in extra verbose mode :-) No functional change.
This commit is contained in:
@@ -78,7 +78,7 @@ namespace {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
Evaluation() = delete;
|
Evaluation() = delete;
|
||||||
Evaluation(const Position& p) : pos(p) {};
|
Evaluation(const Position& p) : pos(p) {}
|
||||||
Evaluation& operator=(const Evaluation&) = delete;
|
Evaluation& operator=(const Evaluation&) = delete;
|
||||||
|
|
||||||
Value value();
|
Value value();
|
||||||
|
|||||||
@@ -134,8 +134,8 @@ namespace {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int stableCnt;
|
|
||||||
Key expectedPosKey;
|
Key expectedPosKey;
|
||||||
|
int stableCnt;
|
||||||
Move pv[3];
|
Move pv[3];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ enum MoveType {
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum Color {
|
enum Color {
|
||||||
WHITE, BLACK, NO_COLOR, COLOR_NB = 2
|
WHITE, BLACK, COLOR_NB = 2
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CastlingSide {
|
enum CastlingSide {
|
||||||
|
|||||||
Reference in New Issue
Block a user