Commit 970c2fc0 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix error with fused types and optional template params.

parent 3de7bd55
......@@ -3633,7 +3633,7 @@ class CppClassType(CType):
if self.templates:
template_strings = [param.declaration_code('', for_display, None, pyrex)
for param in template_params
if not is_optional_template_param(param)]
if not is_optional_template_param(param) and not param.is_fused]
if for_display:
brackets = "[%s]"
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment