mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
fixed_typemap.hpp: forgot destructor
This commit is contained in:
parent
f71cdb4eb8
commit
d5c85f308a
1 changed files with 10 additions and 0 deletions
|
@ -78,6 +78,16 @@ namespace stx
|
||||||
std::swap(m_init_count, x.m_init_count);
|
std::swap(m_init_count, x.m_init_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~manual_fixed_typemap()
|
||||||
|
{
|
||||||
|
if (!m_list)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
reset();
|
||||||
|
}
|
||||||
|
|
||||||
// Destroy all objects and keep them in uninitialized state, must be called first
|
// Destroy all objects and keep them in uninitialized state, must be called first
|
||||||
void reset() noexcept
|
void reset() noexcept
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue