diff options
Autocommit at 05.05.2022 @ 17:23
1 files changed, 5 insertions, 0 deletions
| -rw-r--r-- | src/EventSystem/Event.cpp | 5 |
diff --git a/src/EventSystem/Event.cpp b/src/EventSystem/Event.cpp index 6940aed..3deb58c 100644 --- a/src/EventSystem/Event.cpp +++ b/src/EventSystem/Event.cpp @@ -58,6 +58,11 @@ StatusCode Event::buyTicketFromReservation(const Reservation& reservation, const return Success; } +bool Event::ticketIsFree(unsigned row, unsigned seat) { + Ticket temp(row, seat); + unsigned ind = tickets.findIndex(temp); +} + int Event::compare(const Event& other) { // TODO: improve return name.compare(other.name); |
