Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index b90d025927eb5d2085a24f317a2ed557da28a0ca..c87b5101cfda7dc1ca4c40d4907d3f025eb221ef 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -243,11 +243,8 @@ IdlArrayOrSequenceType.native_array_element_type = property( |
def cpp_template_type(template, inner_type): |
- """Returns C++ template specialized to type, with space added if needed.""" |
- if inner_type.endswith('>'): |
- format_string = '{template}<{inner_type} >' |
- else: |
- format_string = '{template}<{inner_type}>' |
+ """Returns C++ template specialized to type.""" |
+ format_string = '{template}<{inner_type}>' |
return format_string.format(template=template, inner_type=inner_type) |