diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-10-24 18:18:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-10-24 18:18:56 (GMT) |
commit | 32557464b53467b2819e3fb820a7bbc459eb3e30 (patch) | |
tree | a3e5426db07e417c276c043b1c2436f169045b49 /src/memberdef.cpp | |
parent | c9ed38abcef60f4ecb9fc08a1ddd936762d5342c (diff) | |
download | Doxygen-32557464b53467b2819e3fb820a7bbc459eb3e30.zip Doxygen-32557464b53467b2819e3fb820a7bbc459eb3e30.tar.gz Doxygen-32557464b53467b2819e3fb820a7bbc459eb3e30.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 |