mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Fix some Clang warnings
Found by Clang in extra verbose mode :-) No functional change.
This commit is contained in:
parent
fa5b0936ee
commit
7aa7dfd4df
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue