aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-25 19:15:21 -0400
committerLioncash <mathew1800@gmail.com>2020-09-25 19:23:23 -0400
commitdba567cfbfb237e48d730ccb30c0bbd658b7a221 (patch)
treee410f96ef9c03e92662da0d2bdda3394049ad53f /src
parent98612909698af7bc095cff363b364208b9b1bc73 (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')
-rw-r--r--src/core/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 83ded63a58..27efe30bb4 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;
}