Fix mutex when building with no threads.

This commit is contained in:
Fabio Alessandrelli
2020-03-08 00:06:57 +01:00
parent 8cb6d5daa4
commit d96179be75
2 changed files with 21 additions and 9 deletions

View File

@ -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