diff --git a/include/tl/expected.hpp b/include/tl/expected.hpp index 688a7e0..ab0909c 100644 --- a/include/tl/expected.hpp +++ b/include/tl/expected.hpp @@ -28,9 +28,9 @@ #if !defined(TL_ASSERT) #if (__cplusplus > 201103L) //can't have assert in constexpr in C++11 #include -#define TL_ASSERT assert +#define TL_ASSERT(x) assert(x) #else -#define TL_ASSERT +#define TL_ASSERT(x) #endif #endif