mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
IdManager fix
Debug build fixed Allowed get/remove with forward declarations
This commit is contained in:
parent
c96057296a
commit
eb889920e6
2 changed files with 42 additions and 17 deletions
|
|
@ -15,11 +15,11 @@ std::vector<id_manager::typeinfo>& id_manager::typeinfo::access()
|
|||
return list;
|
||||
}
|
||||
|
||||
u32 id_manager::typeinfo::add_type(typeinfo info)
|
||||
u32 id_manager::typeinfo::add_type()
|
||||
{
|
||||
auto& list = access();
|
||||
|
||||
list.emplace_back(info);
|
||||
list.emplace_back();
|
||||
|
||||
return ::size32(list) - 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue