k_resource_limit: Minor cleanup of member variables/headers

This commit is contained in:
ameerj
2021-04-14 00:40:33 -04:00
parent bb922d6ff6
commit 2067115c78
4 changed files with 13 additions and 21 deletions

View File

@ -2156,7 +2156,7 @@ static ResultCode CreateResourceLimit(Core::System& system, Handle* out_handle)
LOG_DEBUG(Kernel_SVC, "called");
auto& kernel = system.Kernel();
auto resource_limit = std::make_shared<KResourceLimit>(kernel, system);
auto resource_limit = std::make_shared<KResourceLimit>(kernel, system.CoreTiming());
auto* const current_process = kernel.CurrentProcess();
ASSERT(current_process != nullptr);