summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-10-27 08:23:08 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-11-11 19:20:39 (GMT)
commit31198c214de4f4a8f8935426574e9fa0eb0cf27e (patch)
tree67e39ea38a050f0a14b6d135874cf5813c3da51b /src/namespacedef.cpp
parent7cda115a6830bf816a094e37c498e5a50ce1b29c (diff)
downloadDoxygen-31198c214de4f4a8f8935426574e9fa0eb0cf27e.zip
Doxygen-31198c214de4f4a8f8935426574e9fa0eb0cf27e.tar.gz
Doxygen-31198c214de4f4a8f8935426574e9fa0eb0cf27e.tar.bz2
More template and context updates
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index b0ba6b4..81b9a51 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -115,14 +115,15 @@ void NamespaceDef::findSectionsInDocumentation()
}
}
-void NamespaceDef::insertUsedFile(const char *f)
+void NamespaceDef::insertUsedFile(FileDef *fd)
{
- if (files.find(f)==-1)
+ if (fd==0) return;
+ if (files.find(fd)==-1)
{
if (Config_getBool("SORT_MEMBER_DOCS"))
- files.inSort(f);
+ files.inSort(fd);
else
- files.append(f);
+ files.append(fd);
}
}