kern: devirtualize remaining vcall for class token/dyncast

This commit is contained in:
Michael Scire 2021-10-23 16:04:04 -07:00
parent 36e4914be8
commit 71e4313d0c
10 changed files with 38 additions and 47 deletions

View file

@ -487,7 +487,7 @@ namespace ams::kern::board::nintendo::nx {
{
/* Construct the resource limit object. */
KResourceLimit &sys_res_limit = Kernel::GetSystemResourceLimit();
KAutoObject::Create(std::addressof(sys_res_limit));
KAutoObject::Create<KResourceLimit>(std::addressof(sys_res_limit));
sys_res_limit.Initialize();
/* Set the initial limits. */