Fix Android compilation

This commit is contained in:
Gioacchino Mazzurco 2020-03-19 17:37:24 +01:00
parent a509098a79
commit da66719b83
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
2 changed files with 5 additions and 2 deletions

View File

@ -503,6 +503,10 @@ bool RsTypeSerializer::from_JSON( const std::string& /*memberName*/,
// Binary blocks //
//============================================================================//
/*static*/ /* without this Android compilation breaks */
constexpr uint32_t RsTypeSerializer::RawMemoryWrapper::MAX_SERIALIZED_CHUNK_SIZE;
/*static*/
void RsTypeSerializer::RawMemoryWrapper::serial_process(
RsGenericSerializer::SerializeJob j,
RsGenericSerializer::SerializeContext& ctx )

View File

@ -430,8 +430,7 @@ struct RsTypeSerializer
if(!yielding)
{
RsErr() << __PRETTY_FUNCTION__ << " \"" << memberName
<< "\" not found in JSON:" << std::endl
<< jDoc << std::endl << std::endl;
<< "\" not found in JSON" << std::endl;
print_stacktrace();
}
ctx.mOk = false;