| 80 | } |
| 81 | |
| 82 | bool AudioMsgId::operator<(const AudioMsgId &other) const { |
| 83 | if (quintptr(audio()) < quintptr(other.audio())) { |
| 84 | return true; |
| 85 | } else if (quintptr(other.audio()) < quintptr(audio())) { |
| 86 | return false; |
| 87 | } else if (contextId() < other.contextId()) { |
| 88 | return true; |
| 89 | } else if (other.contextId() < contextId()) { |
| 90 | return false; |
| 91 | } |
| 92 | return (externalPlayId() < other.externalPlayId()); |
| 93 | } |
| 94 | |
| 95 | bool AudioMsgId::operator==(const AudioMsgId &other) const { |
| 96 | return (audio() == other.audio()) |
nothing calls this directly
no test coverage detected