diff options
author | Lioncash <mathew1800@gmail.com> | 2020-09-25 19:15:21 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-09-25 19:23:23 -0400 |
commit | 5c4e23790283f744be75d866318342bddd064234 (patch) | |
tree | e410f96ef9c03e92662da0d2bdda3394049ad53f /src/core/core.h | |
parent | 3e4a0a13cb2f2e02bdb623d763a63a71c2c5da7a (diff) |
core: Mark GetInstance() as deprecated
This way it's obvious that this function shouldn't be used in any future
code.
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; } |