0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 10:42:47 +01:00

ircd::json:🖨️ Make return an lvalue for leeward access.

This commit is contained in:
Jason Volk 2020-05-25 01:39:15 -07:00
parent cd9faf8c20
commit 53b304cb7a

View file

@ -484,7 +484,12 @@ const
}; };
}}; }};
return karma::generate(begin(out), gg | eps[throws], std::forward<attr>(a)...); const auto ret
{
karma::generate(begin(out), gg | eps[throws], std::forward<attr>(a)...)
};
return ret;
} }
template<class gen> template<class gen>
@ -514,7 +519,12 @@ const
}; };
}}; }};
return karma::generate(begin(out), gg | eps[throws]); const auto ret
{
karma::generate(begin(out), gg | eps[throws])
};
return ret;
} }
template<class it_a, template<class it_a,