mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 16:37:57 -05:00
core: Make System's default constructor private
This makes it a compilation error to construct additional instances of the System class directly, preventing accidental wasteful constructions over and over.
This commit is contained in:
@ -168,6 +168,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
System();
|
||||
|
||||
/// Returns the currently running CPU core
|
||||
Cpu& CurrentCpuCore();
|
||||
|
||||
|
Reference in New Issue
Block a user