diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2007-09-02 19:15:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2007-09-02 19:15:32 (GMT) |
commit | 8e4a092e4d51347f8f6c61d87154ee74edb13d20 (patch) | |
tree | 05d18b9500cfc4e613b19d0154b89ed18542a3ae /src/doxygen.cpp | |
parent | 4a93397673029e3cfd4c9e2d0501a109f858b87c (diff) | |
download | Doxygen-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.cpp | 4 |
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); } |