diff options
Diffstat (limited to 'CPP/Common/MyTypes.h')
-rw-r--r-- | CPP/Common/MyTypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CPP/Common/MyTypes.h b/CPP/Common/MyTypes.h index 4f52a01d..75806f37 100644 --- a/CPP/Common/MyTypes.h +++ b/CPP/Common/MyTypes.h @@ -27,4 +27,9 @@ struct CBoolPair } }; +#define CLASS_NO_COPY(cls) \ + private: \ + cls(const cls &); \ + cls &operator=(const cls &); + #endif |