Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit1b57e8721113909662c63a0ed996b02cf40af8ca (patch)
Author
 Angel Dimitriev <angel_dimitriev@abv.bg>
2022-03-31 03:01:10 +0300
Committer
 GitHub <noreply@github.com>
2022-03-31 03:01:10 +0300
Files4f8bc2d00e758aac5dc63045372c79b4106458e3
Object-oriented_programming_FMI-1b57e8721113909662c63a0ed996b02cf40af8ca.tar
Object-oriented_programming_FMI-1b57e8721113909662c63a0ed996b02cf40af8ca.tar.gz
Object-oriented_programming_FMI-1b57e8721113909662c63a0ed996b02cf40af8ca.zip
Parent211475e9aa90ef7aa0039a9967c717fc6f1484c6 (diff)
Update Date.h
1 files changed, 3 insertions, 3 deletions
-rw-r--r--Sem. 06/Event/Date.h6
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
+};