diff options
Autocommit at 05.05.2022 @ 20:54
1 files changed, 3 insertions, 1 deletions
| -rw-r--r-- | src/EventSystem/Reservation.cpp | 4 |
diff --git a/src/EventSystem/Reservation.cpp b/src/EventSystem/Reservation.cpp index 26278b2..1d46d27 100644 --- a/src/EventSystem/Reservation.cpp +++ b/src/EventSystem/Reservation.cpp @@ -11,8 +11,10 @@ Reservation::Reservation(const Ticket& ticket, const char* password, const char* strcpy(this->password, password); strcpy(this->note, note); } - +#include <iostream> bool Reservation::validPassword(const char* password) const { + std::cout << password << std::endl; + std::cout << this->password << std::endl; return !strcmp(this->password, password); } |
