diff options
author | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-02 22:55:57 +0000 |
---|---|---|
committer | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-02 22:55:57 +0000 |
commit | 5f6e1f0fe74bc01878d80531a91c39df9dfaa62a (patch) | |
tree | 4fe7140f6051191e509807d101d224763d5d6d32 /src/common/basictypes.h | |
parent | Change #imports that should have been #includes to #include. (diff) | |
download | breakpad-5f6e1f0fe74bc01878d80531a91c39df9dfaa62a.tar.xz |
Fixing various compiler warnings and applying minor tweaks to allow running of
the mojority of breakpad unittests in Google.
http://breakpad.appspot.com/399002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@978 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/basictypes.h')
-rw-r--r-- | src/common/basictypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/basictypes.h b/src/common/basictypes.h index 694f7022..84668b79 100644 --- a/src/common/basictypes.h +++ b/src/common/basictypes.h @@ -32,8 +32,10 @@ // A macro to disallow the copy constructor and operator= functions // This should be used in the private: declarations for a class +#ifndef DISALLOW_COPY_AND_ASSIGN #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ TypeName(const TypeName&); \ void operator=(const TypeName&) +#endif // DISALLOW_COPY_AND_ASSIGN #endif // COMMON_BASICTYPES_H_ |