From a042449f5d63ad3459f92f93fb98053f9f3b5a8b Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Fri, 15 Jul 2011 21:51:19 +0100 Subject: [PATCH] No need to declare default Position c'tor Pointed out by Rein Halbersma. No functional change. Signed-off-by: Marco Costalba --- src/position.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/position.h b/src/position.h index 37d55ed8..9ed72393 100644 --- a/src/position.h +++ b/src/position.h @@ -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); -- 2.39.2