summaryrefslogtreecommitdiff
path: root/idlc/source/aststructinstance.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/aststructinstance.cxx')
-rw-r--r--idlc/source/aststructinstance.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/idlc/source/aststructinstance.cxx b/idlc/source/aststructinstance.cxx
index e7723d19bd2d..878745793fd2 100644
--- a/idlc/source/aststructinstance.cxx
+++ b/idlc/source/aststructinstance.cxx
@@ -31,7 +31,8 @@ namespace {
OString createName(
AstType const * typeTemplate, DeclList const * typeArguments)
{
- OStringBuffer buf(typeTemplate->getScopedName());
+ OStringBuffer buf(64);
+ buf.append(typeTemplate->getScopedName());
if (typeArguments != nullptr) {
buf.append('<');
for (DeclList::const_iterator i(typeArguments->begin());