0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 13:48:53 +02:00

ircd::json: Tweak callstack path for this transform.

This commit is contained in:
Jason Volk 2018-04-04 14:00:57 -07:00
parent 6b5bfaf4c0
commit 7438c558e3

View file

@ -1090,11 +1090,10 @@ _member_transform(const tuple<T...> &tuple,
it_a it,
const it_b end)
{
return _member_transform_if(tuple, it, end, []
(auto&& ret, const auto &key, const auto &val)
return _member_transform(tuple, it, end, []
(auto&& ret, const auto &key, const auto &val) -> member
{
ret = member { key, val };
return true;
return { key, val };
});
}