Use assert in C++14+

This commit is contained in:
Sy Brand
2023-02-15 16:06:01 +00:00
committed by GitHub
parent 4f4fae82a5
commit 4ce32056c6

View File

@ -29,6 +29,8 @@
#if (__cplusplus > 201103L) //can't have assert in constexpr in C++11
#include <cassert>
#define TL_ASSERT assert
#else
#define TL_ASSERT
#endif
#endif