mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
cleanup operator overload
This commit is contained in:
parent
f103ecad72
commit
7d95444286
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user