mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-10 17:23:15 +02:00
Merge pull request #602 from birarda/master
type squishes for podspec test
This commit is contained in:
commit
3ee690b11d
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ bool Agent::operator==(const Agent& otherAgent) {
|
|||
return matches(otherAgent._publicSocket, otherAgent._localSocket, otherAgent._type);
|
||||
}
|
||||
|
||||
bool Agent::matches(sockaddr *otherPublicSocket, sockaddr *otherLocalSocket, char otherAgentType) {
|
||||
bool Agent::matches(sockaddr* otherPublicSocket, sockaddr* otherLocalSocket, char otherAgentType) {
|
||||
// checks if two agent objects are the same agent (same type + local + public address)
|
||||
return _type == otherAgentType
|
||||
&& socketMatch(_publicSocket, otherPublicSocket)
|
||||
|
|
Loading…
Reference in a new issue