| 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 6bec67e43c03187e15d7d9cbba51b823cb016a5c..ce70da4557bf7953a2e9e2a426ac5d7faaa7c09f 100644
|
| --- a/tools/json_schema_compiler/cpp_type_generator.py
|
| +++ b/tools/json_schema_compiler/cpp_type_generator.py
|
| @@ -112,7 +112,7 @@ class CppTypeGenerator(object):
|
| item_cpp_type = self.GetCppType(type_.item_type, is_in_container=True)
|
| cpp_type = 'std::vector<%s>' % cpp_util.PadForGenerics(item_cpp_type)
|
| elif type_.property_type == PropertyType.BINARY:
|
| - cpp_type = 'std::string'
|
| + cpp_type = 'std::vector<char>'
|
| else:
|
| raise NotImplementedError('Cannot get type of %s' % type_.property_type)
|
|
|
|
|