Skip to content
Snippets Groups Projects
Commit 7f201a98 authored by bunnei's avatar bunnei
Browse files

Merge pull request #102 from lioncash/define

Common: Remove HAVE_CXX11_SYNTAX define from Common.h
parents 335082e7 5b65decf
No related branches found
No related tags found
No related merge requests found
...@@ -20,11 +20,6 @@ ...@@ -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: ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment