Fix mutex when building with no threads.
This commit is contained in:
@ -40,7 +40,11 @@ void _global_unlock() {
|
||||
_global_mutex.unlock();
|
||||
}
|
||||
|
||||
#ifndef NO_THREADS
|
||||
|
||||
template class MutexImpl<std::recursive_mutex>;
|
||||
template class MutexImpl<std::mutex>;
|
||||
template class MutexLock<MutexImpl<std::recursive_mutex> >;
|
||||
template class MutexLock<MutexImpl<std::mutex> >;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user