summaryrefslogtreecommitdiff
path: root/core/os/mutex.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-03 14:51:02 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-03 14:51:02 +0200
commitd598fff7c24ef675e7bbb794f7abe80d1d24220b (patch)
tree562767284470e5424dc9ebed394a1c400895900b /core/os/mutex.cpp
parent5b47bb8446afbbbf9d6eeec81008d5b430b59706 (diff)
parent54418ea659061edccdf1ac16470505542dcc33f9 (diff)
Merge pull request #66803 from akien-mga/core-remove-NO_THREADS
Remove `NO_THREADS` fallback code, Godot 4 requires thread support
Diffstat (limited to 'core/os/mutex.cpp')
-rw-r--r--core/os/mutex.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/os/mutex.cpp b/core/os/mutex.cpp
index 1d4400bfc1..512db1737a 100644
--- a/core/os/mutex.cpp
+++ b/core/os/mutex.cpp
@@ -40,11 +40,7 @@ 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