Fixed Linux build.

This commit is contained in:
XMRig 2020-12-03 19:55:49 +07:00
parent 3055e03b7e
commit 662a957106
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -52,7 +52,7 @@ bool xmrig::Json::save(const char *fileName, const rapidjson::Document &doc)
rapidjson::PrettyWriter<rapidjson::OStreamWrapper> writer(osw); rapidjson::PrettyWriter<rapidjson::OStreamWrapper> writer(osw);
# ifdef XMRIG_JSON_SINGLE_LINE_ARRAY # ifdef XMRIG_JSON_SINGLE_LINE_ARRAY
writer.SetFormatOptions(kFormatSingleLineArray); writer.SetFormatOptions(rapidjson::kFormatSingleLineArray);
# endif # endif
doc.Accept(writer); doc.Accept(writer);