aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/src/common.h
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-04-07 00:57:37 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-04-07 00:57:37 -0400
commitf446f79da27d8c75b85772654152ea8e67a2214d (patch)
treecf3924876405ed5244fc8ee72c8615cc74e51267 /src/common/src/common.h
parent9b6041d8189653514e87135e2139fd9a0934c9bf (diff)
parentefef514fd8252e1f07cd1b45455dbb5207f2b0c3 (diff)
Merge branch 'hardware-interface'
Conflicts: src/core/src/core.h
Diffstat (limited to 'src/common/src/common.h')
-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 1ca34e46..3b71d9b3 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_