From 46b1b4708a2abd6f5be9c8971ec9672c8706fd21 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 24 Dec 2020 18:56:24 +0000 Subject: [PATCH] remove redundant access specifier in QDate Signed-off-by: Ivailo Monev --- src/core/tools/qdatetime.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/tools/qdatetime.h b/src/core/tools/qdatetime.h index e7bc0ed96..4bf393559 100644 --- a/src/core/tools/qdatetime.h +++ b/src/core/tools/qdatetime.h @@ -50,7 +50,7 @@ public: DateFormat = 0, StandaloneFormat }; -public: + QDate() { jd = 0; } QDate(int y, int m, int d); @@ -162,6 +162,7 @@ public: void start(); int restart(); int elapsed() const; + private: enum TimeFlag { NullTime = -1 }; inline int ds() const { return mds == NullTime ? 0 : mds; } -- 2.11.0