2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-30 07:52:13 +00:00

Restoring BOOST_LEAF_AUTO, keeping BOOST_LEAF_VAR

This commit is contained in:
Emil Dotchevski
2020-06-28 13:50:26 -07:00
parent 24ad28ebee
commit dd00b99c45
16 changed files with 120 additions and 116 deletions

View File

@@ -109,7 +109,7 @@ int main()
[&]() -> leaf::result<void>
{
BOOST_LEAF_VAR(auto answer, call_lua(&*L));
BOOST_LEAF_AUTO(answer, call_lua(&*L));
std::cout << "do_work succeeded, answer=" << answer << '\n';
return { };
},