diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-01-05 19:00:26 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-01-05 19:00:26 (GMT) |
commit | ee63f0e064142addc300e0411b141d2697b73500 (patch) | |
tree | 278be3215f40b4fffddab1ec6dc2b8d47da895ac /src/definition.cpp | |
parent | 4369f8dfd78c7d6666a604026017cfe6e4c9fbc4 (diff) | |
download | Doxygen-ee63f0e064142addc300e0411b141d2697b73500.zip Doxygen-ee63f0e064142addc300e0411b141d2697b73500.tar.gz Doxygen-ee63f0e064142addc300e0411b141d2697b73500.tar.bz2 |
Release-1.3.5-20040105
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 687ef77..ac18ebe 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2003 by Dimitri van Heesch. + * Copyright (C) 1997-2004 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -74,7 +74,8 @@ static void removeFromMap(Definition *d) } Definition::Definition(const char *df,int dl, - const char *name,const char *b,const char *d) + const char *name,const char *b, + const char *d,bool isSymbol) { //QCString ns; m_defFileName = df; @@ -108,12 +109,13 @@ Definition::Definition(const char *df,int dl, m_briefFile=(QCString)"<"+name+">"; m_docLine=1; m_docFile=(QCString)"<"+name+">"; - addToMap(name,this); + m_isSymbol = isSymbol; + if (m_isSymbol) addToMap(name,this); } Definition::~Definition() { - removeFromMap(this); + if (m_isSymbol) removeFromMap(this); delete m_sectionDict; delete m_sourceRefByDict; delete m_sourceRefsDict; |