Update nlohmann::json library to 3.9.0

Cleanup codes.
This commit is contained in:
Tindy X committed 2020-08-12 02:27:45 +08:00
1 parent 65ac33d514
commit dd2732b749
6 files changed
+4081 -3298

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ int addNodes(std::string link, std::vector<nodeInfo> &allNodes, int groupID, con
writeLog(LOG_TYPE_ERROR, "Invalid subscription!");
return -1;
}
if(strSub.find("ssd://") == 0)
if(startsWith(strSub, "ssd://"))
{
getSubInfoFromSSD(strSub, subInfo);
}