diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/container.h | 5 | ||||
-rw-r--r-- | src/util/thread.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/util/container.h b/src/util/container.h index 89daa3fbc..fdd76cc59 100644 --- a/src/util/container.h +++ b/src/util/container.h @@ -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() { diff --git a/src/util/thread.h b/src/util/thread.h index 6258a09a1..3f5ef1199 100644 --- a/src/util/thread.h +++ b/src/util/thread.h @@ -32,7 +32,6 @@ public: MutexedVariable(T value): m_value(value) { - m_mutex.Init(); } T get() @@ -75,7 +74,6 @@ public: JThread(), run(true) { - run_mutex.Init(); } virtual ~SimpleThread() |