summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-09-02 19:15:32 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-09-02 19:15:32 (GMT)
commit8e4a092e4d51347f8f6c61d87154ee74edb13d20 (patch)
tree05d18b9500cfc4e613b19d0154b89ed18542a3ae /src/doxygen.cpp
parent4a93397673029e3cfd4c9e2d0501a109f858b87c (diff)
downloadDoxygen-8e4a092e4d51347f8f6c61d87154ee74edb13d20.zip
Doxygen-8e4a092e4d51347f8f6c61d87154ee74edb13d20.tar.gz
Doxygen-8e4a092e4d51347f8f6c61d87154ee74edb13d20.tar.bz2
Release-1.5.3-20070902
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 3fba678..756d70f 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -2091,7 +2091,7 @@ static MemberDef *addVariableToFile(
}
else
{
- if (!root->type.isEmpty())
+ if (!root->type.isEmpty() && !root->name.isEmpty())
{
if (name.at(0)=='@') // dummy variable representing annonymous union
def=root->type;
@@ -2625,7 +2625,7 @@ static void addMethodToClass(EntryNav *rootNav,ClassDef *cd,
// strip redundant template specifier for constructors
if ((fd==0 || getLanguageFromFileName(fd->name())==SrcLangExt_Cpp) &&
- (i=name.find('<')!=-1) && name.find('>')!=-1)
+ name.left(9)!="operator " && (i=name.find('<'))!=-1 && name.find('>')!=-1)
{
name=name.left(i);
}