diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-27 08:23:08 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-11-11 19:20:39 (GMT) |
commit | 31198c214de4f4a8f8935426574e9fa0eb0cf27e (patch) | |
tree | 67e39ea38a050f0a14b6d135874cf5813c3da51b /src/namespacedef.cpp | |
parent | 7cda115a6830bf816a094e37c498e5a50ce1b29c (diff) | |
download | Doxygen-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.cpp | 9 |
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); } } |