summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-08-26 17:33:07 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-08-26 17:33:07 (GMT)
commit55d2ef8412008e1560b0d5a2ecc2031f269af4a1 (patch)
tree6d5ee0db5c717ebabc57f2d2a15a1365d5e3fa19 /src/classdef.cpp
parent17e35fd285d98df3c7fe59ee8805152726c3572e (diff)
downloadDoxygen-55d2ef8412008e1560b0d5a2ecc2031f269af4a1.zip
Doxygen-55d2ef8412008e1560b0d5a2ecc2031f269af4a1.tar.gz
Doxygen-55d2ef8412008e1560b0d5a2ecc2031f269af4a1.tar.bz2
Release-1.2.17-20020826
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index d8be5e5..2d4864f 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -433,11 +433,7 @@ void ClassDef::internalInsertMember(MemberDef *md,
enumValMembers.append(md);
break;
case MemberDef::Function:
- if (md->name()==localName() || // constructor
- (md->name().find('~')!=-1 && // hack to detect destructor
- md->name().find("operator")==-1
- )
- )
+ if (md->isConstructor() || md->isDestructor())
{
constructors.append(md);
}