Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

core: Delete System copy/move constructors and assignment operators

Lioncash3afcede2040c
diff --git a/src/core/core.h b/src/core/core.h
index d98b15a712..790e23caeb 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -40,6 +40,12 @@ namespace Core {
class System {
public:
+ System(const System&) = delete;
+ System& operator=(const System&) = delete;
+
+ System(System&&) = delete;
+ System& operator=(System&&) = delete;
+
~System();
/**