Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / Reservation.cpp
diff options
context:
space:
mode:
1 files changed, 3 insertions, 1 deletions
-rw-r--r--src/EventSystem/Reservation.cpp4
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);
}