use jthread
This commit is contained in:
@@ -26,7 +26,7 @@ class EnetClient : private NonCopyable {
|
||||
EnetConnection m_Connection;
|
||||
Nz::ENetHost m_Host;
|
||||
Nz::ENetPeer* m_Peer;
|
||||
std::thread m_Thread;
|
||||
std::jthread m_Thread;
|
||||
bool m_Running;
|
||||
|
||||
void Update();
|
||||
|
||||
Reference in New Issue
Block a user