Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / EventSystem.cpp
diff options
context:
space:
mode:
Commit5f9c0593858111b073d2d104d7da6d2136365bd3 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 13:03:13 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 13:03:13 +0300
Filesa5eeee3b74d326f0a00287fbe68da2c45550f82a /src/EventSystem/EventSystem.cpp
FMI-OOP-P1_TicketSystem-5f9c0593858111b073d2d104d7da6d2136365bd3.tar
FMI-OOP-P1_TicketSystem-5f9c0593858111b073d2d104d7da6d2136365bd3.tar.gz
FMI-OOP-P1_TicketSystem-5f9c0593858111b073d2d104d7da6d2136365bd3.zip
Parentb0f046461b44a0c4002ea667a726403ff4a1a701 (diff)
Autocommit at 05.05.2022 @ 13:03
1 files changed, 5 insertions, 0 deletions
-rw-r--r--src/EventSystem/EventSystem.cpp5
diff --git a/src/EventSystem/EventSystem.cpp b/src/EventSystem/EventSystem.cpp
index 3fe0cd6..8b3e5a2 100644
--- a/src/EventSystem/EventSystem.cpp
+++ b/src/EventSystem/EventSystem.cpp
@@ -8,6 +8,11 @@ void EventSystem::updateSoonestUpcoming() {
/* Public */
+EventSystem::EventSystem() {
+ events = OrderedList<Event>();
+ indSoonestUpcoming = 0;
+}
+
EventSystem::EventSystem(const Event* events, unsigned eventCount) {
this->events = OrderedList<Event>(events, eventCount);
indSoonestUpcoming = 0;