mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Change warning muting so it affects all levels, but locally
This commit is contained in:
@@ -37,6 +37,11 @@
|
||||
|
||||
#ifdef THREADS_ENABLED
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wundefined-var-template"
|
||||
#endif
|
||||
|
||||
// A very special kind of mutex, used in scenarios where these
|
||||
// requirements hold at the same time:
|
||||
// - Must be used with a condition variable (only binary mutexes are suitable).
|
||||
@@ -105,6 +110,10 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#else // No threads.
|
||||
|
||||
template <int Tag>
|
||||
|
||||
Reference in New Issue
Block a user