aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'typesystem.h')
-rw-r--r--typesystem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/typesystem.h b/typesystem.h
index 7c5363e9..a5c954a9 100644
--- a/typesystem.h
+++ b/typesystem.h
@@ -114,7 +114,7 @@ struct ArgumentOwner
class APIEXTRACTOR_API CodeSnipFragment
{
private:
- const QString m_code;
+ QString m_code;
TemplateInstance *m_instance;
public:
@@ -135,15 +135,15 @@ public:
void addCode(const QString &code)
{
- codeList.append(new CodeSnipFragment(code));
+ codeList.append(CodeSnipFragment(code));
}
void addTemplateInstance(TemplateInstance *ti)
{
- codeList.append(new CodeSnipFragment(ti));
+ codeList.append(CodeSnipFragment(ti));
}
- QList<CodeSnipFragment*> codeList;
+ QList<CodeSnipFragment> codeList;
};
class CustomFunction : public CodeSnipAbstract