diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2006-05-07 18:20:12 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2006-05-07 18:20:12 (GMT) |
commit | 0674d909555d4b1fe1e000425195ef33b00fe1a5 (patch) | |
tree | 2d15670fa3b1c4279e9d9439de2606f91f865d8b /src/classdef.cpp | |
parent | 6f84cba4db755b69633ad66f6efbbaf94ca8df81 (diff) | |
download | Doxygen-0674d909555d4b1fe1e000425195ef33b00fe1a5.zip Doxygen-0674d909555d4b1fe1e000425195ef33b00fe1a5.tar.gz Doxygen-0674d909555d4b1fe1e000425195ef33b00fe1a5.tar.bz2 |
Release-1.4.6-20060507
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 2edf115..cea3d69 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2005 by Dimitri van Heesch. + * Copyright (C) 1997-2006 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 @@ -2717,7 +2717,11 @@ void ClassDef::setGroupDefForAllMembers(GroupDef *gd,Grouping::GroupPri_t pri,co void ClassDef::addInnerCompound(Definition *d) { - m_innerClasses->inSort(d->localName(),(ClassDef *)d); + if (d->definitionType()==Definition::TypeClass) // only classes can be + // nested in classes. + { + m_innerClasses->inSort(d->localName(),(ClassDef *)d); + } } Definition *ClassDef::findInnerCompound(const char *name) |