浏览代码

Fix ESP code generation parameter order for BaseEspStruct::toStr

Broken by changes made while adding JSON serialization
support (gh-2741).

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Anthony Fishbeck 13 年之前
父节点
当前提交
9c4e8a4a9f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/hidl/hidlcomp.cpp

+ 1 - 1
tools/hidl/hidlcomp.cpp

@@ -1958,7 +1958,7 @@ void ParamInfo::write_esp_marshall(bool isRpc, bool encodeXml, bool checkVer, in
             if (isRpc)
                 outf("\"\", ");
             else if (kind==TK_ESPSTRUCT)
-                outf("\"\", false, ");
+                outf("false, \"\", ");
             else
                 outf("%s, \"\", ", encode);
             outf("%s);\n", prefix);