diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-09-30 21:22:45 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 21:22:45 +1000 |
commit | f7808f5658ba7ff0d8ea2b62350b4878ecb13672 (patch) | |
tree | 2e5ec11d9a5917399b3ba05a50c1aa711071bf96 /src/core/core.h | |
parent | 1ba0b077fc226382fcf581a5b02f655e365e5f27 (diff) | |
parent | 5c4e23790283f744be75d866318342bddd064234 (diff) |
Merge pull request #4726 from lioncash/applet
frontend/controller: Eliminate dependency on the global system instance
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h index 83ded63a5..27efe30bb 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -120,7 +120,7 @@ public: * Gets the instance of the System singleton class. * @returns Reference to the instance of the System singleton class. */ - static System& GetInstance() { + [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() { return s_instance; } |