summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-01-05 15:05:10 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-01-05 15:05:10 (GMT)
commitc5b4375d22dc3b0f97c63df3fdecae7f79a96e62 (patch)
treedff0f188b3e1c253533db7e294a2113b5fc025ef /src
parent961c2472ea54751fa1be4df977ab9c9f8998dab7 (diff)
downloadDoxygen-c5b4375d22dc3b0f97c63df3fdecae7f79a96e62.zip
Doxygen-c5b4375d22dc3b0f97c63df3fdecae7f79a96e62.tar.gz
Doxygen-c5b4375d22dc3b0f97c63df3fdecae7f79a96e62.tar.bz2
issue #8296: LaTeX Error: File ... not found (for caffee project)
Diffstat (limited to 'src')
-rw-r--r--src/classdef.cpp2
-rw-r--r--src/doxygen.cpp12
2 files changed, 3 insertions, 11 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 9777f05..6ddc3f9 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -3989,7 +3989,7 @@ ClassDef *ClassDefImpl::insertTemplateInstance(const QCString &fileName,
templateClass->addInnerCompound(innerClass);
innerClass->setOuterScope(templateClass);
innerClass->setHidden(isHidden());
- templateClass->setArtificial(isArtificial());
+ innerClass->setArtificial(TRUE);
freshInstance=TRUE;
}
}
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 82c86ce..547c79e 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -4136,8 +4136,8 @@ static bool findTemplateInstanceRelation(const Entry *root,
QDict<int> *templateNames,
bool isArtificial)
{
- Debug::print(Debug::Classes,0," derived from template %s with parameters %s\n",
- qPrint(templateClass->name()),qPrint(templSpec));
+ Debug::print(Debug::Classes,0," derived from template %s with parameters %s isArtificial=%d\n",
+ qPrint(templateClass->name()),qPrint(templSpec),isArtificial);
//printf("findTemplateInstanceRelation(base=%s templSpec=%s templateNames=",
// templateClass->name().data(),templSpec.data());
//if (templateNames)
@@ -4163,14 +4163,6 @@ static bool findTemplateInstanceRelation(const Entry *root,
if (isArtificial)
{
instanceClass->setArtificial(TRUE);
- for (const auto innerClass : instanceClass->getClasses())
- {
- ClassDefMutable *innerClassMutable = toClassDefMutable(innerClass);
- if (innerClassMutable)
- {
- innerClassMutable->setArtificial(TRUE);
- }
- }
}
instanceClass->setLanguage(root->lang);