Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / EventSystem.cpp
diff options
context:
space:
mode:
1 files changed, 17 insertions, 17 deletions
-rw-r--r--src/EventSystem/EventSystem.cpp34
diff --git a/src/EventSystem/EventSystem.cpp b/src/EventSystem/EventSystem.cpp
index c581669..c5fc0c1 100644
--- a/src/EventSystem/EventSystem.cpp
+++ b/src/EventSystem/EventSystem.cpp
@@ -101,20 +101,20 @@ StatusCode EventSystem::buyTicket(const char* name, const Date& date, const Tick
return events[ind].buyTicketFromReservation(Reservation(ticket), password);
}
-List<Ticket> EventSystem::queryFreeTickets(const char* name, const Date& date) {
- unsigned ind = indexOfEvent(name, date);
-
- if (ind == events.get_count())
- return List<Ticket>();
-
- List<Ticket> freeTickets;
-
- unsigned nextIndT = 0, nextIndR = 0;
- for (unsigned r = 1; r <= events[ind].get_hall().get_rowCount(); r++) {
- for (unsigned s = 1; s <= events[ind].get_hall().get_seatsPerRow(); s++) {
- // TODO: finish
- }
- }
-
- return freeTickets;
-}
+// List<Ticket> EventSystem::queryFreeTickets(const char* name, const Date& date) {
+// unsigned ind = indexOfEvent(name, date);
+//
+// if (ind == events.get_count())
+// return List<Ticket>();
+//
+// List<Ticket> freeTickets;
+//
+// unsigned nextIndT = 0, nextIndR = 0;
+// for (unsigned r = 1; r <= events[ind].get_hall().get_rowCount(); r++) {
+// for (unsigned s = 1; s <= events[ind].get_hall().get_seatsPerRow(); s++) {
+// // TODO: finish
+// }
+// }
+//
+// return freeTickets;
+// }