diff options
| author | 2014-04-05 15:22:11 -0400 | |
|---|---|---|
| committer | 2014-04-05 15:22:11 -0400 | |
| commit | 925a894c1b04935772bc3eea904e81c8bef7df13 (patch) | |
| tree | b68a322709ecb3700cdba5a3f042148710b81b7d /src | |
| parent | added LCD logger (diff) | |
| download | yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar.gz yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.tar.xz yuzu-925a894c1b04935772bc3eea904e81c8bef7df13.zip | |
added DISALLOW_COPY_AND_ASSIGN macro
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/src/common.h | 5 |
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 | |||
| 163 | EMUSTATE_CHANGE_STOP | 163 | EMUSTATE_CHANGE_STOP |
| 164 | }; | 164 | }; |
| 165 | 165 | ||
| 166 | // This should be used in the private: declarations for a class | ||
| 167 | #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ | ||
| 168 | TypeName(const TypeName&); \ | ||
| 169 | void operator=(const TypeName&) | ||
| 170 | |||
| 166 | #endif // _COMMON_H_ | 171 | #endif // _COMMON_H_ |