diff options
Autocommit at 07.05.2022 @ 21:29
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/Models/Ticket.cpp | 2 |
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 { |
