mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 07:35:45 +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
9861290969
commit
dba567cfbf
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public:
|
||||||
* Gets the instance of the System singleton class.
|
* Gets the instance of the System singleton class.
|
||||||
* @returns Reference to 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;
|
return s_instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue