From ac297a9f1ef2f8008a3b807eea4c769fb8a2f9ee Mon Sep 17 00:00:00 2001 From: Sy Brand Date: Wed, 15 Feb 2023 16:09:50 +0000 Subject: [PATCH] Fix TL_ASSERT --- include/tl/expected.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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