Add back setting of member variable in init fn

This commit is contained in:
Stephen Seo 2024-11-12 14:57:49 +09:00
parent f8540d8cde
commit c4f06b799e

View file

@ -89,6 +89,8 @@ namespace SC_AM_Internal {
malloced_list_head->data = nullptr; malloced_list_head->data = nullptr;
malloced_list_tail->data = nullptr; malloced_list_tail->data = nullptr;
deferred_node = nullptr;
recursive_mutex = real_malloc(sizeof(std::recursive_mutex)); recursive_mutex = real_malloc(sizeof(std::recursive_mutex));
void *unused = new(recursive_mutex) std::recursive_mutex{}; void *unused = new(recursive_mutex) std::recursive_mutex{};
(void)unused; (void)unused;