1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00: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:
Marco Costalba 2011-07-15 21:51:19 +01:00
parent f5e434c2d9
commit a042449f5d

View file

@ -89,8 +89,9 @@ struct StateInfo {
class Position {
Position(); // No default or copy c'tor allowed
Position(const Position& pos);
// No default or copy c'tor allowed, default c'tor will not be generated
// anyhow because of user-defined c'tors.
Position(const Position&);
public:
Position(const Position& pos, int threadID);