diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
commit | 5167cf2076e30ed3f6ddd84b76543a0dff207496 (patch) | |
tree | 485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /src/classdef.cpp | |
parent | a1995ea7b217edfe0a6ddf3d60ea7bde1e23c1d7 (diff) | |
download | Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.zip Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.gz Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.bz2 |
Release-1.2.3-20001203
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 239ae3f..775b84f 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -604,6 +604,7 @@ ArgumentList *ClassDef::outerTemplateArguments() const int ti; ClassDef *pcd=0; int pi=0; + if (tempArgs) return tempArgs; // find the outer most class scope while ((ti=name().find("::",pi))!=-1 && (pcd=getClass(name().left(ti)))==0 @@ -612,10 +613,7 @@ ArgumentList *ClassDef::outerTemplateArguments() const { return pcd->templateArguments(); } - else - { - return tempArgs; - } + return 0; } |