mirror of
https://github.com/TartanLlama/expected.git
synced 2025-07-30 08:57:18 +02:00
Use assert in C++14+
This commit is contained in:
@ -29,6 +29,8 @@
|
|||||||
#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 assert
|
||||||
|
#else
|
||||||
|
#define TL_ASSERT
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user