Browse Source

Common: Remove HAVE_CXX11_SYNTAX define from Common.h

Lioncash 12 năm trước cách đây
mục cha
commit
5b65decf91
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      src/common/common.h

+ 0 - 6
src/common/common.h

@@ -20,11 +20,6 @@
 
 #define STACKALIGN
 
-#if __cplusplus >= 201103L || defined(_MSC_VER) || defined(__GXX_EXPERIMENTAL_CXX0X__)
-#define HAVE_CXX11_SYNTAX 1
-#endif
-
-#if HAVE_CXX11_SYNTAX
 // An inheritable class to disallow the copy constructor and operator= functions
 class NonCopyable
 {
@@ -36,7 +31,6 @@ private:
     NonCopyable(NonCopyable&);
     NonCopyable& operator=(NonCopyable& other);
 };
-#endif
 
 #include "common/log.h"
 #include "common/common_types.h"