summaryrefslogtreecommitdiff
path: root/idlc/source/aststruct.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/aststruct.cxx')
-rw-r--r--idlc/source/aststruct.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/aststruct.cxx b/idlc/source/aststruct.cxx
index 7f645564208b..fff256acc338 100644
--- a/idlc/source/aststruct.cxx
+++ b/idlc/source/aststruct.cxx
@@ -36,7 +36,7 @@ AstStruct::AstStruct(
i != typeParameters.end(); ++i)
{
m_typeParameters.push_back(
- new AstDeclaration(NT_type_parameter, *i, 0));
+ new AstType(NT_type_parameter, *i, 0));
}
}