summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index acf2233..8bc3f38 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1883,7 +1883,7 @@ void ClassDef::setTemplateArguments(ArgumentList *al)
*/
bool ClassDef::hasNonReferenceSuperClass()
{
- bool found=!isReference() && isLinkableInProject();
+ bool found=!isReference() && isLinkableInProject() && !isHidden();
if (found)
{
return TRUE; // we're done if this class is not a reference
@@ -2778,6 +2778,7 @@ ClassDef *ClassDef::insertTemplateInstance(const QCString &fileName,
fileName,startLine,name()+templSpec,ClassDef::Class);
templateClass->setTemplateMaster(this);
templateClass->setOuterScope(getOuterScope());
+ templateClass->setHidden(isHidden());
m_templateInstances->insert(templSpec,templateClass);
freshInstance=TRUE;
}