Some more experimentation
This commit is contained in:
parent
237d079aad
commit
52377cf0d2
3 changed files with 9 additions and 5 deletions
|
@ -21,11 +21,11 @@
|
|||
|
||||
#define STACKALIGN
|
||||
|
||||
#if __cplusplus >= 201103 || defined(_MSC_VER) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
#if __cplusplus >= 201103L || defined(_MSC_VER) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
#define HAVE_CXX11_SYNTAX 1
|
||||
#endif
|
||||
|
||||
#if HAVE_CXX11_SYNTAX
|
||||
//#if HAVE_CXX11_SYNTAX
|
||||
// An inheritable class to disallow the copy constructor and operator= functions
|
||||
class NonCopyable
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ private:
|
|||
NonCopyable(NonCopyable&);
|
||||
NonCopyable& operator=(NonCopyable& other);
|
||||
};
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
#include "common/log.h"
|
||||
#include "common/common_types.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue