diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-10-24 18:18:56 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-10-24 18:18:56 (GMT) |
commit | 79a5fb85eb38d8a4388c9a281a09549e7bcb8b78 (patch) | |
tree | a3e5426db07e417c276c043b1c2436f169045b49 /src/memberdef.cpp | |
parent | b7ae07dc2e3b4b635cc59a49d326a88d45f9206b (diff) | |
download | Doxygen-79a5fb85eb38d8a4388c9a281a09549e7bcb8b78.zip Doxygen-79a5fb85eb38d8a4388c9a281a09549e7bcb8b78.tar.gz Doxygen-79a5fb85eb38d8a4388c9a281a09549e7bcb8b78.tar.bz2 |
Release-1.4.5-20051024
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 748fb9a..15a95f5 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -2248,7 +2248,16 @@ bool MemberDef::isConstructor() const } else // for other languages { - return name()==classDef->localName(); + QCString locName = classDef->localName(); + int i=locName.find('<'); + if (i==-1) // not a template class + { + return name()==locName; + } + else + { + return name()==locName.left(i); + } } } else |