mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
No need to declare default Position c'tor
Pointed out by Rein Halbersma. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -89,8 +89,9 @@ struct StateInfo {
|
|||||||
|
|
||||||
class Position {
|
class Position {
|
||||||
|
|
||||||
Position(); // No default or copy c'tor allowed
|
// No default or copy c'tor allowed, default c'tor will not be generated
|
||||||
Position(const Position& pos);
|
// anyhow because of user-defined c'tors.
|
||||||
|
Position(const Position&);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Position(const Position& pos, int threadID);
|
Position(const Position& pos, int threadID);
|
||||||
|
|||||||
Reference in New Issue
Block a user