mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 20:04:24 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ int main(int argc, char *argv[])
|
||||||
const MethodParam& mp(paramsMap[pn]);
|
const MethodParam& mp(paramsMap[pn]);
|
||||||
paramsDeclaration += "\t\t" + mp.type + " " + mp.name;
|
paramsDeclaration += "\t\t" + mp.type + " " + mp.name;
|
||||||
if(!mp.defval.isEmpty())
|
if(!mp.defval.isEmpty())
|
||||||
paramsDeclaration += "(" + mp.defval + ")";
|
paramsDeclaration += " = " + mp.defval;
|
||||||
paramsDeclaration += ";\n";
|
paramsDeclaration += ";\n";
|
||||||
if(mp.in)
|
if(mp.in)
|
||||||
inputParamsDeserialization += "\t\t\tRS_SERIAL_PROCESS("
|
inputParamsDeserialization += "\t\t\tRS_SERIAL_PROCESS("
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue