From c5b4375d22dc3b0f97c63df3fdecae7f79a96e62 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Tue, 5 Jan 2021 16:05:10 +0100 Subject: issue #8296: LaTeX Error: File ... not found (for caffee project) --- src/classdef.cpp | 2 +- src/doxygen.cpp | 12 ++---------- 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 *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); -- cgit v0.12