diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-18 18:55:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 18:55:58 -0700 |
commit | 49b0966003caeaafe2f5455d06b16175f02686fb (patch) | |
tree | 141c8d3c09f9eca021dddedb17cdc3cc6607a19a /src/core/core.h | |
parent | 89f0acfd36223976afd60fca5f30881fe0ecca7f (diff) | |
parent | 10d2ab80989e1362fe9cc206e0708d7aeeda5d3a (diff) |
Merge pull request #687 from lioncash/instance
core: Don't construct instance of Core::System, just to access its live instance
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index f90f085ad..c6f69f001 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -168,6 +168,8 @@ public: } private: + System(); + /// Returns the currently running CPU core Cpu& CurrentCpuCore(); |