mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 17:26:51 +08:00
Remove default capture with init-capture in hope of fixing MSVC build.
This commit is contained in:
parent
612a7bf5eb
commit
264414c0b0
@ -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); \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user