Remove unnecessary accessors.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user