0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

ircd::json: Only call _post_append() under nominal unwind.

This commit is contained in:
Jason Volk 2020-09-07 12:37:54 -07:00
parent bd43de46b7
commit 023e1341a1

View file

@ -1632,7 +1632,7 @@ ircd::json::stack::array::append(const json::value &value)
{
assert(s);
_pre_append();
const unwind post{[this]
const unwind_nominal post{[this]
{
_post_append();
}};
@ -1811,7 +1811,7 @@ ircd::json::stack::member::append(const json::value &value)
{
assert(s);
_pre_append();
const unwind post{[this]
const unwind_nominal post{[this]
{
_post_append();
}};