Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. class SortPriority
  2. {
  3. public:
  4. SortPriority();
  5. bool operator()(InfoPlayer* playerA, InfoPlayer* playerB);
  6. };
  7. ========================================================================
  8. SortPriority::SortPriority() = default;
  9.  
  10. bool SortPriority::operator()(InfoPlayer* playerA, InfoPlayer* playerB)
  11. {
  12. return playerA->Priority< playerB->Priority;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement