Commit 956cf864 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fix for NULL pointer access problem

parent 15c353fe
...@@ -512,7 +512,8 @@ ClassDef *newResolveTypedef(FileDef *fileScope,MemberDef *md, ...@@ -512,7 +512,8 @@ ClassDef *newResolveTypedef(FileDef *fileScope,MemberDef *md,
ClassDef *typeClass = md->getClassDef(); ClassDef *typeClass = md->getClassDef();
QCString type = md->typeString(); // get the "value" of the typedef QCString type = md->typeString(); // get the "value" of the typedef
if (typeClass && typeClass->isTemplate() && actTemplParams->count()>0) if (typeClass && typeClass->isTemplate() &&
actTemplParams && actTemplParams->count()>0)
{ {
type = substituteTemplateArgumentsInString(type, type = substituteTemplateArgumentsInString(type,
typeClass->templateArguments(),actTemplParams); typeClass->templateArguments(),actTemplParams);
......
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