summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2020-09-25 19:15:21 -0400
committerGravatar Lioncash2020-09-25 19:23:23 -0400
commit5c4e23790283f744be75d866318342bddd064234 (patch)
treee410f96ef9c03e92662da0d2bdda3394049ad53f
parentfrontend/controller: Eliminate dependency on the global system instance (diff)
downloadyuzu-5c4e23790283f744be75d866318342bddd064234.tar.gz
yuzu-5c4e23790283f744be75d866318342bddd064234.tar.xz
yuzu-5c4e23790283f744be75d866318342bddd064234.zip
core: Mark GetInstance() as deprecated
This way it's obvious that this function shouldn't be used in any future code.
Diffstat (limited to '')
-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 83ded63a5..27efe30bb 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -120,7 +120,7 @@ public:
120 * Gets the instance of the System singleton class. 120 * Gets the instance of the System singleton class.
121 * @returns Reference to the instance of the System singleton class. 121 * @returns Reference to the instance of the System singleton class.
122 */ 122 */
123 static System& GetInstance() { 123 [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
124 return s_instance; 124 return s_instance;
125 } 125 }
126 126