diff --git a/include/stdx/static_assert.hpp b/include/stdx/static_assert.hpp index 7f3be39..2d98e25 100644 --- a/include/stdx/static_assert.hpp +++ b/include/stdx/static_assert.hpp @@ -47,7 +47,7 @@ template constexpr auto ct_check = ct_check_t{}; #define STATIC_ASSERT(cond, ...) \ []() -> bool { \ constexpr auto S = STDX_CT_FORMAT(__VA_ARGS__); \ - stdx::detail::ct_check.template emit(); \ + stdx::detail::ct_check.template emit<+S.str>(); \ return B; \ }.template operator()() #endif