Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem
diff options
context:
space:
mode:
Commit91946fd15ab678768b0b682c6f4c87ba513f20e4 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 17:53:34 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 17:53:34 +0300
Files36490e6ca9db0f8e9dcdd45343cf19dbb3815c07 /src/EventSystem
FMI-OOP-P1_TicketSystem-91946fd15ab678768b0b682c6f4c87ba513f20e4.tar
FMI-OOP-P1_TicketSystem-91946fd15ab678768b0b682c6f4c87ba513f20e4.tar.gz
FMI-OOP-P1_TicketSystem-91946fd15ab678768b0b682c6f4c87ba513f20e4.zip
Parent496621640f216d27ab53e82da5eeaaaa78a77b32 (diff)
Autocommit at 05.05.2022 @ 17:53
1 files changed, 5 insertions, 2 deletions
-rw-r--r--src/EventSystem/Reservation.h7
diff --git a/src/EventSystem/Reservation.h b/src/EventSystem/Reservation.h
index ff56db6..1a415b5 100644
--- a/src/EventSystem/Reservation.h
+++ b/src/EventSystem/Reservation.h
@@ -5,10 +5,13 @@
#include <istream>
#include <ostream>
+#define PASSWORD_LEN 8
+#define NOTE_LEN 32
+
class Reservation {
Ticket ticket;
- char password[8];
- char note[32];
+ char password[PASSWORD_LEN];
+ char note[NOTE_LEN];
public:
Reservation();