diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/common.h b/src/common/common.h index cb69eabe4..9f3016d34 100644 --- a/src/common/common.h +++ b/src/common/common.h | |||
| @@ -20,11 +20,6 @@ | |||
| 20 | 20 | ||
| 21 | #define STACKALIGN | 21 | #define STACKALIGN |
| 22 | 22 | ||
| 23 | #if __cplusplus >= 201103L || defined(_MSC_VER) || defined(__GXX_EXPERIMENTAL_CXX0X__) | ||
| 24 | #define HAVE_CXX11_SYNTAX 1 | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #if HAVE_CXX11_SYNTAX | ||
| 28 | // An inheritable class to disallow the copy constructor and operator= functions | 23 | // An inheritable class to disallow the copy constructor and operator= functions |
| 29 | class NonCopyable | 24 | class NonCopyable |
| 30 | { | 25 | { |
| @@ -36,7 +31,6 @@ private: | |||
| 36 | NonCopyable(NonCopyable&); | 31 | NonCopyable(NonCopyable&); |
| 37 | NonCopyable& operator=(NonCopyable& other); | 32 | NonCopyable& operator=(NonCopyable& other); |
| 38 | }; | 33 | }; |
| 39 | #endif | ||
| 40 | 34 | ||
| 41 | #include "common/log.h" | 35 | #include "common/log.h" |
| 42 | #include "common/common_types.h" | 36 | #include "common/common_types.h" |