1
0
Fork 0
forked from suyu/suyu

Common: Remove HAVE_CXX11_SYNTAX define from Common.h

This commit is contained in:
Lioncash 2014-09-08 15:00:33 -04:00
parent 335082e74e
commit 5b65decf91

View file

@ -20,11 +20,6 @@
#define STACKALIGN #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 // An inheritable class to disallow the copy constructor and operator= functions
class NonCopyable class NonCopyable
{ {
@ -36,7 +31,6 @@ private:
NonCopyable(NonCopyable&); NonCopyable(NonCopyable&);
NonCopyable& operator=(NonCopyable& other); NonCopyable& operator=(NonCopyable& other);
}; };
#endif
#include "common/log.h" #include "common/log.h"
#include "common/common_types.h" #include "common/common_types.h"