mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Cleanup jthread and fix win32 build
This commit is contained in:
parent
f3439c40d8
commit
04e9a9d541
29 changed files with 185 additions and 194 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue