Przeglądaj źródła

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 lat temu
rodzic
commit
9c4e8a4a9f
1 zmienionych plików z 1 dodań i 1 usunięć
  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);