k_resource_limit: Minor cleanup of member variables/headers

This commit is contained in:
ameerj 2021-04-14 00:40:33 -04:00
parent a933bceca3
commit 931ef0f8a3
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);