diff --git a/include/stdx/utility.hpp b/include/stdx/utility.hpp index 1478f97..8607aef 100644 --- a/include/stdx/utility.hpp +++ b/include/stdx/utility.hpp @@ -242,14 +242,14 @@ template constexpr auto is_ct_v = is_ct_v; ::stdx::cxv_detail::from_any( \ __VA_ARGS__)>())::value) { \ return ::stdx::overload{ \ - ::stdx::cxv_detail::cx_base{}, [&] { \ + ::stdx::cxv_detail::cx_base{}, [] { \ return ::stdx::type_identity< \ decltype(::stdx::cxv_detail::type_of< \ ::stdx::cxv_detail::from_any( \ __VA_ARGS__)>())>{}; \ }}; \ } else { \ - return ::stdx::overload{::stdx::cxv_detail::cx_base{}, [&] { \ + return ::stdx::overload{::stdx::cxv_detail::cx_base{}, [] { \ return (__VA_ARGS__) + \ ::stdx::cxv_detail::type_val{}; \ }}; \