Port m-shared-ptr to new memory model

(use global pool)
This commit is contained in:
Patrick Pelissier committed 2025-05-07 21:02:24 +02:00
1 parent 5d1ebdf5bb
commit 689527c2dc
4 files changed
+40 -5

No files matched your search

+1 -1
View File
@@ -446,7 +446,7 @@ M_BEGIN_PROTECTED_CODE
# define M_R_EXPAND_void m_pool
# define M_R(...) (m_pool, __VA_ARGS__)
# define M_ASSERT_POOL() (void) m_pool
# define M_GLOBAL_POOL() M_USE_POOL m_pool = { 0 }
# define M_GLOBAL_POOL() M_USE_POOL m_pool = { 0 }; (void) m_pool
#endif
// M_P: Expand to a prototype of a function that may trigger exception / accept memory context