Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: tools/json_schema_compiler/h_generator.py

Issue 2594053002: [Schema Compiler] Remove cpp_util.PadForGenerics() (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/json_schema_compiler/cpp_util.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/h_generator.py
diff --git a/tools/json_schema_compiler/h_generator.py b/tools/json_schema_compiler/h_generator.py
index c64241cd62d6d66b46230ee62cf84867f0432e08..7cf4d17ef7b533d22b32333b374f2964aeffc289 100644
--- a/tools/json_schema_compiler/h_generator.py
+++ b/tools/json_schema_compiler/h_generator.py
@@ -275,9 +275,8 @@ class _Generator(object):
else:
(c.Cblock(self._GenerateType(type_.additional_properties))
.Append('std::map<std::string, %s> additional_properties;' %
- cpp_util.PadForGenerics(
self._type_helper.GetCppType(type_.additional_properties,
- is_in_container=True)))
+ is_in_container=True))
)
(c.Eblock()
.Append()
« no previous file with comments | « tools/json_schema_compiler/cpp_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698