pandemonium_engine_minimal/platform/frt/patches/gcc492a_324.patch
2023-12-14 21:54:22 +01:00

14 lines
596 B
Diff

diff --git a/core/safe_refcount.h b/core/safe_refcount.h
index a61d227217..35c0e8f55e 100644
--- a/core/safe_refcount.h
+++ b/core/safe_refcount.h
@@ -51,7 +51,7 @@
#define SAFE_NUMERIC_TYPE_PUN_GUARANTEES(m_type) \
static_assert(sizeof(SafeNumeric<m_type>) == sizeof(m_type), ""); \
static_assert(alignof(SafeNumeric<m_type>) == alignof(m_type), ""); \
- static_assert(std::is_trivially_destructible<std::atomic<m_type> >::value, "");
+ // FRT_PATCH_GCC492A std::is_trivially_destructible not supported
#if defined(DEBUG_ENABLED)
void check_lockless_atomics();