mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
fix RawMemoryWrapper serialisation to json, reported by b1rdG
This commit is contained in:
parent
d52d9c909b
commit
f186422833
@ -599,7 +599,8 @@ void RsTypeSerializer::RawMemoryWrapper::serial_process(
|
||||
RsBase64::encode(first, second, encodedValue, true, false);
|
||||
ctx.mJson.SetString(
|
||||
encodedValue.data(),
|
||||
static_cast<rapidjson::SizeType>(encodedValue.length()) );
|
||||
static_cast<rapidjson::SizeType>(encodedValue.length()),
|
||||
ctx.mJson.GetAllocator());
|
||||
break;
|
||||
}
|
||||
case RsGenericSerializer::FROM_JSON:
|
||||
|
Loading…
Reference in New Issue
Block a user