Remove default capture with init-capture in hope of fixing MSVC build.

This commit is contained in:
Lenard Szolnoki 2023-03-12 15:17:14 +00:00
parent 612a7bf5eb
commit 264414c0b0

View File

@ -639,7 +639,7 @@ struct verify_error;
typename ::dummy<((void)(rhs), 0)>; \
}) { \
constexpr auto sv = T(lhs); \
constexpr auto val = [&] { \
constexpr auto val = [&sv=sv] { \
::std::remove_cvref_t<decltype(rhs)> ret; \
(void)::fast_float::from_chars(sv.data(), sv.data() + sv.size(), \
ret); \