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 | 2d1984c20c75e03ec79eeb3806b12efa1679b977 (patch) | |
tree | 79a457c2fb0cabd810eac92f3cb245d344ed9c3b /src/core/core.cpp | |
parent | de4b01f75df19c1674a2b4424b4f0d8060829844 (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 c2295f69c..c53d122be 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) { |