use jthread
This commit is contained in:
@@ -33,7 +33,7 @@ class EnetServer : private NonCopyable {
|
||||
|
||||
Nz::ENetHost m_Host;
|
||||
bool m_Running;
|
||||
std::thread m_Thread;
|
||||
std::jthread m_Thread;
|
||||
std::map<std::uint16_t, std::unique_ptr<EnetConnection>> m_Connections;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user