From e88d378a09a038d452c686963a07d57b47c8f72b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 7 May 2022 21:29:45 +0300 Subject: Autocommit at 07.05.2022 @ 21:29 --- src/Models/Ticket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Models/Ticket.cpp') diff --git a/src/Models/Ticket.cpp b/src/Models/Ticket.cpp index e37cccf..196f5f5 100644 --- a/src/Models/Ticket.cpp +++ b/src/Models/Ticket.cpp @@ -17,7 +17,7 @@ unsigned Ticket::get_seat() const { void Ticket::read(std::istream& istr) { istr.read((char*)&row, sizeof(row)); - istr.read((char*)&row, sizeof(seat)); + istr.read((char*)&seat, sizeof(seat)); } void Ticket::write(std::ostream& ostr) const { -- cgit v1.3.1-23-gd82d