mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
TraversalClient: In-class initialize members where applicable
This commit is contained in:
parent
ca6a2970ea
commit
1b8ad49d1e
2 changed files with 9 additions and 10 deletions
|
@ -22,8 +22,7 @@ static void GetRandomishBytes(u8* buf, size_t size)
|
|||
}
|
||||
|
||||
TraversalClient::TraversalClient(ENetHost* netHost, const std::string& server, const u16 port)
|
||||
: m_NetHost(netHost), m_Client(nullptr), m_ConnectRequestId(0), m_PendingConnect(false),
|
||||
m_Server(server), m_port(port), m_PingTime(0)
|
||||
: m_NetHost(netHost), m_Server(server), m_port(port)
|
||||
{
|
||||
netHost->intercept = TraversalClient::InterceptCallback;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue