From bf1d97b44798c3d285729d7eeaab45337bb53720 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 20:54:01 +0300 Subject: Autocommit at 05.05.2022 @ 20:54 --- src/EventSystem/Reservation.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/EventSystem/Reservation.cpp') 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 bool Reservation::validPassword(const char* password) const { + std::cout << password << std::endl; + std::cout << this->password << std::endl; return !strcmp(this->password, password); } -- cgit v1.3.1-23-gd82d