mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 16:07:57 -05:00
core, yuzu: Address first part of review comments
This commit is contained in:
@ -32,7 +32,7 @@ public:
|
||||
std::unique_ptr<SocketBase> socket;
|
||||
SockAddrIn sockaddr_in;
|
||||
};
|
||||
virtual ~SocketBase() {}
|
||||
virtual ~SocketBase() = default;
|
||||
|
||||
virtual SocketBase& operator=(const SocketBase&) = delete;
|
||||
|
||||
@ -89,11 +89,7 @@ public:
|
||||
|
||||
virtual void HandleProxyPacket(const ProxyPacket& packet) = 0;
|
||||
|
||||
#if defined(_WIN32)
|
||||
SOCKET fd = INVALID_SOCKET;
|
||||
#elif YUZU_UNIX
|
||||
int fd = -1;
|
||||
#endif
|
||||
};
|
||||
|
||||
class Socket : public SocketBase {
|
||||
|
Reference in New Issue
Block a user