mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 17:15:31 -05:00
Fix Android compilation
This commit is contained in:
parent
a509098a79
commit
da66719b83
@ -503,6 +503,10 @@ bool RsTypeSerializer::from_JSON( const std::string& /*memberName*/,
|
|||||||
// Binary blocks //
|
// Binary blocks //
|
||||||
//============================================================================//
|
//============================================================================//
|
||||||
|
|
||||||
|
/*static*/ /* without this Android compilation breaks */
|
||||||
|
constexpr uint32_t RsTypeSerializer::RawMemoryWrapper::MAX_SERIALIZED_CHUNK_SIZE;
|
||||||
|
|
||||||
|
/*static*/
|
||||||
void RsTypeSerializer::RawMemoryWrapper::serial_process(
|
void RsTypeSerializer::RawMemoryWrapper::serial_process(
|
||||||
RsGenericSerializer::SerializeJob j,
|
RsGenericSerializer::SerializeJob j,
|
||||||
RsGenericSerializer::SerializeContext& ctx )
|
RsGenericSerializer::SerializeContext& ctx )
|
||||||
|
@ -430,8 +430,7 @@ struct RsTypeSerializer
|
|||||||
if(!yielding)
|
if(!yielding)
|
||||||
{
|
{
|
||||||
RsErr() << __PRETTY_FUNCTION__ << " \"" << memberName
|
RsErr() << __PRETTY_FUNCTION__ << " \"" << memberName
|
||||||
<< "\" not found in JSON:" << std::endl
|
<< "\" not found in JSON" << std::endl;
|
||||||
<< jDoc << std::endl << std::endl;
|
|
||||||
print_stacktrace();
|
print_stacktrace();
|
||||||
}
|
}
|
||||||
ctx.mOk = false;
|
ctx.mOk = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user