mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43: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:
parent
f5e434c2d9
commit
a042449f5d
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue