Revert "trying to inline
lambdas (VS2017) (!)" this is not allowed in c++14 requires c++17
This reverts commit 0ad1c58009
.
This commit is contained in:
parent
0ad1c58009
commit
631c0a59c4
1 changed files with 4 additions and 4 deletions
|
@ -43,17 +43,17 @@ BOOST_SPIRIT_DECLARE(generic_json_grammar_type);
|
|||
BOOST_SPIRIT_DECLARE(generic_json_key_value_type);
|
||||
}
|
||||
|
||||
inline auto assign = [](auto const& ctx)
|
||||
auto assign = [](auto const& ctx)
|
||||
{
|
||||
_val(ctx) = _attr(ctx);
|
||||
};
|
||||
|
||||
inline auto assign_key = [](auto const& ctx)
|
||||
auto assign_key = [](auto const& ctx)
|
||||
{
|
||||
std::get<0>(_val(ctx)) = std::move(_attr(ctx));
|
||||
std::get<0>(_val(ctx)) = _attr(ctx);
|
||||
};
|
||||
|
||||
inline auto assign_value = [](auto const& ctx)
|
||||
auto assign_value = [](auto const& ctx)
|
||||
{
|
||||
std::get<1>(_val(ctx)) = std::move(_attr(ctx));
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue