Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Venue / Venue.cpp
diff options
context:
space:
mode:
Commit4e078ecef77dd202c19738f7587e4b7208f2996c (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 14:38:47 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 14:38:47 +0300
Files7674cb6263a5e339715ec3a229774dfbd311da94 /src/Venue/Venue.cpp
FMI-OOP-P1_TicketSystem-4e078ecef77dd202c19738f7587e4b7208f2996c.tar
FMI-OOP-P1_TicketSystem-4e078ecef77dd202c19738f7587e4b7208f2996c.tar.gz
FMI-OOP-P1_TicketSystem-4e078ecef77dd202c19738f7587e4b7208f2996c.zip
Parentdaf48c1659094a750cc37f7517ce827d483ecba2 (diff)
Autocommit at 05.05.2022 @ 14:38
1 files changed, 4 insertions, 0 deletions
-rw-r--r--src/Venue/Venue.cpp4
diff --git a/src/Venue/Venue.cpp b/src/Venue/Venue.cpp
index dd29463..3185d7b 100644
--- a/src/Venue/Venue.cpp
+++ b/src/Venue/Venue.cpp
@@ -2,6 +2,10 @@
Venue::Venue() : halls(), es() {}
+Venue::Venue(const Hall* halls, unsigned hallCount) : es() {
+ this->halls = List<Hall>(halls, hallCount);
+}
+
Venue::Venue(const Hall* halls, unsigned hallCount, const EventSystem& es) {
this->halls = List<Hall>(halls, hallCount);
this->es = es;