mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Fix Android compilation
This commit is contained in:
parent
a509098a79
commit
da66719b83
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue