mirror of
https://github.com/Simplxss/SignerServer.git
synced 2024-11-21 00:37:53 +08:00
fix linux
This commit is contained in:
parent
52d2fa4851
commit
2c39499736
@ -45,7 +45,7 @@ void init()
|
||||
versionConfigStrBuf << versionConfig.rdbuf();
|
||||
versionConfig.close();
|
||||
rapidjson::Document doc;
|
||||
doc.Parse(versionConfigStrBuf.str().c_str(), versionConfigStrBuf.str().c_str());
|
||||
doc.Parse(versionConfigStrBuf.str().c_str(), versionConfigStrBuf.str().size());
|
||||
if (doc.HasMember("version") && doc["version"].IsString())
|
||||
version = doc["version"].GetString();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user