Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Hall.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/Models/Hall.cpp2
diff --git a/src/Models/Hall.cpp b/src/Models/Hall.cpp
index a8231df..fbe482f 100644
--- a/src/Models/Hall.cpp
+++ b/src/Models/Hall.cpp
@@ -31,6 +31,6 @@ void Hall::set_seatsPerRow(unsigned seatsPerRow) {
this->seatsPerRow = seatsPerRow;
}
-int Hall::compare(const Hall& other) {
+int Hall::compare(const Hall& other) const {
return (number > other.get_number()) - (number < other.get_number());
}