Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / EventService.cpp
diff options
context:
space:
mode:
1 files changed, 2 insertions, 0 deletions
-rw-r--r--src/Services/EventService.cpp2
diff --git a/src/Services/EventService.cpp b/src/Services/EventService.cpp
index b7d54e1..fa50d0b 100644
--- a/src/Services/EventService.cpp
+++ b/src/Services/EventService.cpp
@@ -42,6 +42,8 @@ StatusCode EventService::createEvent(int hallNumber, const String& name, const D
unsigned hInd = hs->get_halls().findIndex(Hall(hallNumber));
if (hInd == hs->get_halls().get_count())
return E_HallDoesntExist;
+
+ unsigned eInd = indexOfEvent(date)
if (true)
return E_EventWillOverlap;