0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::json: Fix serialized type propagation on value copy.

This commit is contained in:
Jason Volk 2019-03-07 14:04:45 -08:00
parent cc14164dc8
commit 8c61f6370a

View file

@ -3501,7 +3501,7 @@ ircd::json::value::value(const value &other)
create_string(len, [&other]
(mutable_buffer &buffer)
{
json::stringify(buffer, string_view{other});
json::stringify(buffer, other);
});
}
else switch(type)