mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -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]);
|
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…
Reference in New Issue
Block a user