forked from TartanLlama/expected
Fix TL_ASSERT
This commit is contained in:
@@ -28,9 +28,9 @@
|
|||||||
#if !defined(TL_ASSERT)
|
#if !defined(TL_ASSERT)
|
||||||
#if (__cplusplus > 201103L) //can't have assert in constexpr in C++11
|
#if (__cplusplus > 201103L) //can't have assert in constexpr in C++11
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#define TL_ASSERT assert
|
#define TL_ASSERT(x) assert(x)
|
||||||
#else
|
#else
|
||||||
#define TL_ASSERT
|
#define TL_ASSERT(x)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user