cleanup operator overload

This commit is contained in:
DevilBinder 2022-06-24 20:39:18 +02:00
parent f103ecad72
commit 7d95444286

View File

@ -27,10 +27,7 @@ typedef struct Peer_t{
} }
bool operator==(Peer_t c){ bool operator==(Peer_t c){
if(memcmp(this->peer,c.peer,6) == 0){ return (memcmp(this->peer,c.peer,6) == 0);
return true;
}
return false;
} }
}Peer_t; }Peer_t;