diff options
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | Sem. 06/Event/Date.h | 6 |
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 +};
|
