commit c8cd3013431b850aba14d703ce4c7e2b8cf43819 parent 741632aafe2940da15317b63b9f78fbf339cf331 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Dec 18 22:49:55 +0200 Don't define NONCOPYABLE with relacy Diffstat:
intrinsics.h | | | 4 | ++++ |
diff --git a/intrinsics.h b/intrinsics.h @@ -135,7 +135,11 @@ inline void mike_assert( const bool predicate, const char * message ) { #define STATIC_ASSERT( p ) static int CONCAT( STATIC_ASSERT, __COUNTER__ )[ int( p ) - 1 ] #endif +#if !PLATFORM_RELACY #define NONCOPYABLE( T ) T( const T & ) = delete; void operator=( const T & ) = delete; +#else +#define NONCOPYABLE( T ) +#endif template< typename F > struct ScopeExit {