diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-01-26 16:14:18 -0400 |
|---|---|---|
| committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-01-27 09:54:11 -0400 |
| commit | 8eb175481c7434c31e92b7cbc38ad3e881c33f3b (patch) | |
| tree | 79a457c2fb0cabd810eac92f3cb245d344ed9c3b /src/core/core.cpp | |
| parent | e9b557b38e32f0406234d013b39750d0c68941bc (diff) | |
System: Address Feedback
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index c2295f69cd..c53d122be8 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -121,8 +121,8 @@ struct System::Impl { } Kernel::PhysicalCore& CurrentPhysicalCore() { - const auto i = cpu_manager.GetActiveCoreIndex(); - return kernel.PhysicalCore(i); + const auto index = cpu_manager.GetActiveCoreIndex(); + return kernel.PhysicalCore(index); } Kernel::PhysicalCore& GetPhysicalCore(std::size_t index) { |
