mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 22:42:47 +00:00
core: Mark GetInstance() as deprecated
This way it's obvious that this function shouldn't be used in any future code.
This commit is contained in:
parent
3e4a0a13cb
commit
5c4e237902
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue