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){
|
||||
if(memcmp(this->peer,c.peer,6) == 0){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return (memcmp(this->peer,c.peer,6) == 0);
|
||||
}
|
||||
|
||||
}Peer_t;
|
||||
|
Loading…
Reference in New Issue
Block a user