ircd::json: Fix mismatched serialized size propagating through value copy.

This commit is contained in:
Jason Volk 2023-03-23 18:26:16 -07:00
parent 66629046e1
commit a8c16e0fd0
1 changed files with 1 additions and 1 deletions

View File

@ -4138,7 +4138,7 @@ ircd::json::value::value(const json::members &members)
ircd::json::value::value(const value &other)
:integer{other.integer}
,len{other.len}
,len{other.serial? serialized(other): other.len}
,type{other.type}
,serial{other.serial}
,alloc{other.alloc}