summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-26 01:15:21 +0200
committerLioncash <mathew1800@gmail.com>2020-09-26 01:23:23 +0200
commit5c4e23790283f744be75d866318342bddd064234 (patch)
treee410f96ef9c03e92662da0d2bdda3394049ad53f
parentfrontend/controller: Eliminate dependency on the global system instance (diff)
downloadyuzu-5c4e23790283f744be75d866318342bddd064234.tar
yuzu-5c4e23790283f744be75d866318342bddd064234.tar.gz
yuzu-5c4e23790283f744be75d866318342bddd064234.tar.bz2
yuzu-5c4e23790283f744be75d866318342bddd064234.tar.lz
yuzu-5c4e23790283f744be75d866318342bddd064234.tar.xz
yuzu-5c4e23790283f744be75d866318342bddd064234.tar.zst
yuzu-5c4e23790283f744be75d866318342bddd064234.zip
-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:
* 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;
}