| Index: tools/json_schema_compiler/cpp_type_generator.py
|
| diff --git a/tools/json_schema_compiler/cpp_type_generator.py b/tools/json_schema_compiler/cpp_type_generator.py
|
| index e0e82789ccfee369dc87faad13eb0d971b6d525c..cb95206feb2f9c393369340900004396d8bef66d 100644
|
| --- a/tools/json_schema_compiler/cpp_type_generator.py
|
| +++ b/tools/json_schema_compiler/cpp_type_generator.py
|
| @@ -99,7 +99,8 @@ class CppTypeGenerator(object):
|
| if self._default_namespace is ref_type.namespace:
|
| cpp_type = ref_type.name
|
| else:
|
| - cpp_type = '%s::%s' % (ref_type.namespace.unix_name, ref_type.name)
|
| + cpp_type = '%s::%s' % (ref_type.namespace.unix_name,
|
| + cpp_util.Classname(ref_type.name))
|
| elif type_.property_type == PropertyType.BOOLEAN:
|
| cpp_type = 'bool'
|
| elif type_.property_type == PropertyType.INTEGER:
|
|
|