summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-05 21:22:11 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-05 21:22:11 +0200
commit925a894c1b04935772bc3eea904e81c8bef7df13 (patch)
treeb68a322709ecb3700cdba5a3f042148710b81b7d /src/common
parentadded LCD logger (diff)
downloadyuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar
yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar.gz
yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar.bz2
yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar.lz
yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar.xz
yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar.zst
yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/src/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/src/common.h b/src/common/src/common.h
index 1ca34e467..3b71d9b3d 100644
--- a/src/common/src/common.h
+++ b/src/common/src/common.h
@@ -163,4 +163,9 @@ enum EMUSTATE_CHANGE
EMUSTATE_CHANGE_STOP
};
+// This should be used in the private: declarations for a class
+#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
+ TypeName(const TypeName&); \
+ void operator=(const TypeName&)
+
#endif // _COMMON_H_