diff --git a/src/g2_2025_grade_calculator_pkg/src/database/StudentCourse.hpp b/src/g2_2025_grade_calculator_pkg/src/database/StudentCourse.hpp index b372f81..f1bad4f 100644 --- a/src/g2_2025_grade_calculator_pkg/src/database/StudentCourse.hpp +++ b/src/g2_2025_grade_calculator_pkg/src/database/StudentCourse.hpp @@ -24,6 +24,10 @@ struct StudentCourse { || (student_name == other.student_name && course_name < other.course_name); } + + bool operator!=(const StudentCourse& other) const { + return !(*this == other); + } }; typedef std::map> StudentCourseResultMap;