Index: tools/json_schema_compiler/cpp_util.py |
diff --git a/tools/json_schema_compiler/cpp_util.py b/tools/json_schema_compiler/cpp_util.py |
index fd13235e8bd7e8800273345f4072d46fabf7e6c6..1229fb8597654e10b785f2b9836a00ccc15fbd32 100644 |
--- a/tools/json_schema_compiler/cpp_util.py |
+++ b/tools/json_schema_compiler/cpp_util.py |
@@ -65,7 +65,7 @@ def GetParameterDeclaration(param, type_): |
type. |
""" |
if param.type_ in (PropertyType.REF, PropertyType.OBJECT, PropertyType.ARRAY, |
- PropertyType.STRING): |
+ PropertyType.STRING, PropertyType.ANY): |
arg = '%(type)s& %(name)s' |
else: |
arg = '%(type)s %(name)s' |