diff options
Autocommit at 07.05.2022 @ 16:53
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/Models/Hall.cpp | 2 |
diff --git a/src/Models/Hall.cpp b/src/Models/Hall.cpp index b1c7ed3..41644df 100644 --- a/src/Models/Hall.cpp +++ b/src/Models/Hall.cpp @@ -27,7 +27,7 @@ void Hall::read(std::istream& istr) { istr.read((char*)&seatsPerRow, sizeof(seatsPerRow)); } -void Hall::write(std::ostream& ostr) { +void Hall::write(std::ostream& ostr) const { ostr.write((char*)&number, sizeof(number)); ostr.write((char*)&rows, sizeof(rows)); ostr.write((char*)&seatsPerRow, sizeof(seatsPerRow)); |
