diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-20 18:23:06 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-20 18:23:06 (GMT) |
commit | 7c34dd2b1594925d0a012e9ba290bf9c80574db5 (patch) | |
tree | 63a7ba72ad4f8318f818aebfef29beee5811c241 /src/memberdef.h | |
parent | 2c6d31c8bf31028ba2f822c31f4812c2cecab306 (diff) | |
download | Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.zip Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.gz Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.bz2 |
Release-1.2.18-20021020
Diffstat (limited to 'src/memberdef.h')
-rw-r--r-- | src/memberdef.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/memberdef.h b/src/memberdef.h index 5be5285..7a8aba3 100644 --- a/src/memberdef.h +++ b/src/memberdef.h @@ -200,16 +200,8 @@ class MemberDef : public Definition // argument related members ArgumentList *argumentList() const { return defArgList; } ArgumentList *declArgumentList() const { return declArgList; } - void setArgumentList(ArgumentList *al) - { - if (defArgList) delete defArgList; - defArgList = al; - } - void setDeclArgumentList(ArgumentList *al) - { - if (declArgList) delete declArgList; - declArgList = al; - } + void setArgumentList(ArgumentList *al); + void setDeclArgumentList(ArgumentList *al); ArgumentList *templateArguments() const { return tArgList; } void setDefinitionTemplateParameterLists(QList<ArgumentList> *lists); QList<ArgumentList> *definitionTemplateParameterLists() const |