Index: tools/json_schema_compiler/util_cc_helper.py |
diff --git a/tools/json_schema_compiler/util_cc_helper.py b/tools/json_schema_compiler/util_cc_helper.py |
index bf089dd990f5a70e09e81ab9e5247baf21008558..8d490ba5ba345877f1aea32a1765a5b3e9475985 100644 |
--- a/tools/json_schema_compiler/util_cc_helper.py |
+++ b/tools/json_schema_compiler/util_cc_helper.py |
@@ -25,7 +25,7 @@ class UtilCCHelper(object): |
'dst': dst, |
} |
- sub['type'] = self._type_manager.GetType(prop) |
+ sub['type'] = self._type_manager.GetCppType(prop), |
if array_prop.optional: |
val = ('%(namespace)s::PopulateOptionalArrayFromDictionary' |
'(*%(src)s, "%(name)s", &%(dst)s)') |
@@ -46,7 +46,7 @@ class UtilCCHelper(object): |
'namespace': API_UTIL_NAMESPACE, |
'src': src, |
'dst': dst, |
- 'type': self._type_manager.GetType(prop), |
+ 'type': self._type_manager.GetCppType(prop), |
} |
if optional: |
@@ -65,7 +65,7 @@ class UtilCCHelper(object): |
sub = { |
'namespace': API_UTIL_NAMESPACE, |
'src': src, |
- 'type': self._type_manager.GetType(prop), |
+ 'type': self._type_manager.GetCppType(prop), |
} |
if optional: |