mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
jsonapi-generator fix param initialization on Android
without this patch Android compilation would fail in cases like RsPeerId sslid(RsPeerId());
This commit is contained in:
parent
321d2e84bd
commit
0f01f110ad
@ -302,7 +302,7 @@ int main(int argc, char *argv[])
|
||||
const MethodParam& mp(paramsMap[pn]);
|
||||
paramsDeclaration += "\t\t" + mp.type + " " + mp.name;
|
||||
if(!mp.defval.isEmpty())
|
||||
paramsDeclaration += "(" + mp.defval + ")";
|
||||
paramsDeclaration += " = " + mp.defval;
|
||||
paramsDeclaration += ";\n";
|
||||
if(mp.in)
|
||||
inputParamsDeserialization += "\t\t\tRS_SERIAL_PROCESS("
|
||||
|
Loading…
Reference in New Issue
Block a user