mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Partially revert "Fix debug build gcc/clang linker."
This reverts commit4599d58413
. The issue this works around was fixed in3265772
("idm: Implement creation/destruction invalidation counter") by making the variables constexpr. Fixes #6896
This commit is contained in:
parent
f1e66085cd
commit
2b6a56c21c
1 changed files with 1 additions and 4 deletions
|
@ -19,11 +19,8 @@ sys_vm_t::sys_vm_t(u32 _addr, u32 vsize, lv2_memory_container* ct, u32 psize)
|
|||
|
||||
sys_vm_t::~sys_vm_t()
|
||||
{
|
||||
// Debug build : gcc and clang can not find the static var if retrieved directly in "release" function
|
||||
constexpr auto invalid = id_manager::id_traits<sys_vm_t>::invalid;
|
||||
|
||||
// Free ID
|
||||
g_ids[addr >> 28].release(invalid);
|
||||
g_ids[addr >> 28].release(id_manager::id_traits<sys_vm_t>::invalid);
|
||||
}
|
||||
|
||||
LOG_CHANNEL(sys_vm);
|
||||
|
|
Loading…
Add table
Reference in a new issue