mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::json: Only call _post_append() under nominal unwind.
This commit is contained in:
parent
bd43de46b7
commit
023e1341a1
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue