mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Cleanup jthread and fix win32 build
This commit is contained in:
@@ -83,8 +83,6 @@ class MutexedMap
|
||||
public:
|
||||
MutexedMap()
|
||||
{
|
||||
m_mutex.Init();
|
||||
assert(m_mutex.IsInitialized());
|
||||
}
|
||||
|
||||
void set(const Key &name, const Value &value)
|
||||
@@ -150,8 +148,6 @@ class MutexedIdGenerator
|
||||
public:
|
||||
MutexedIdGenerator()
|
||||
{
|
||||
m_mutex.Init();
|
||||
assert(m_mutex.IsInitialized());
|
||||
}
|
||||
|
||||
// Returns true if found
|
||||
@@ -253,7 +249,6 @@ class MutexedQueue
|
||||
public:
|
||||
MutexedQueue()
|
||||
{
|
||||
m_mutex.Init();
|
||||
}
|
||||
bool empty()
|
||||
{
|
||||
|
Reference in New Issue
Block a user