mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
No longer need exists
This commit is contained in:
parent
61c866a34c
commit
be96f1cdd0
2 changed files with 0 additions and 5 deletions
|
@ -162,10 +162,6 @@ bool Agent::matches(sockaddr *otherPublicSocket, sockaddr *otherLocalSocket, cha
|
|||
&& socketMatch(localSocket, otherLocalSocket);
|
||||
}
|
||||
|
||||
bool Agent::exists(uint16_t *otherAgentId) {
|
||||
return agentId == *otherAgentId;
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const Agent* agent) {
|
||||
sockaddr_in *agentPublicSocket = (sockaddr_in *)agent->publicSocket;
|
||||
sockaddr_in *agentLocalSocket = (sockaddr_in *)agent->localSocket;
|
||||
|
|
|
@ -28,7 +28,6 @@ class Agent {
|
|||
bool operator==(const Agent& otherAgent);
|
||||
|
||||
bool matches(sockaddr *otherPublicSocket, sockaddr *otherLocalSocket, char otherAgentType);
|
||||
bool exists(uint16_t *agentId);
|
||||
char getType();
|
||||
void setType(char newType);
|
||||
uint16_t getAgentId();
|
||||
|
|
Loading…
Reference in a new issue