From 1b57e8721113909662c63a0ed996b02cf40af8ca Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Thu, 31 Mar 2022 03:01:10 +0300 Subject: Update Date.h --- Sem. 06/Event/Date.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sem. 06/Event/Date.h b/Sem. 06/Event/Date.h index 8c2f085..8e9ecd4 100644 --- a/Sem. 06/Event/Date.h +++ b/Sem. 06/Event/Date.h @@ -8,8 +8,8 @@ class Date size_t MAX_DAYS[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; - mutable int dayOfWeek; //allowing to be changed by constant objects - mutable bool isModified = true; + int dayOfWeek; //allowing to be changed by constant objects + bool isModified = true; bool isLeapYear() const; public: @@ -30,4 +30,4 @@ public: int getDayOfWeek(); //cant be const, because of changings dayOfWeek and isModified // can we get around this ?? -}; \ No newline at end of file +}; -- cgit v1.3.1-23-gd82d