mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Remove unnecessary accessors.
This commit is contained in:
parent
389ea272a0
commit
637da383f5
1 changed files with 0 additions and 19 deletions
|
@ -261,25 +261,6 @@ public:
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
inline void *getuptr(PhySocket *sock)
|
||||
{
|
||||
PhySocketImpl &sws = *(reinterpret_cast<PhySocketImpl *>(sock));
|
||||
return sws.uptr;
|
||||
}
|
||||
|
||||
inline void setuptr(PhySocket *sock, void *obj)
|
||||
{
|
||||
PhySocketImpl &sws = *(reinterpret_cast<PhySocketImpl *>(sock));
|
||||
sws.uptr = obj;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return Number of open sockets
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue