Unverified Commit 7b09f85b authored by Shuhao Zhang's avatar Shuhao Zhang Committed by GitHub
Browse files

fix(op-overload): format the code

parent 5adbd8d5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -83,9 +83,6 @@ struct student {
  int score;
  bool operator<(const student& a) const {
    return score < a.score || (score == a.score && name > a.name);
    // 上面省略了 this 指针,完整表达式如下:
    // this -> score < a.score || (this -> score == a.score && this -> name >
    // a.name);
  }
};
priority_queue<student> pq;