generated from wessel/boilerplate
feat(StudentCourse): Add != operator for use in testing
This commit is contained in:
@@ -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<StudentCourse, std::vector<int>> StudentCourseResultMap;
|
||||
|
||||
Reference in New Issue
Block a user