summaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-07-22 18:01:54 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:07 -0300
commit28da24d29cfc5137a4cf1940c9fa45d519334e17 (patch)
tree07698e6e855b7c2c9329909063cca50e9bc8f004 /abstractmetabuilder.h
parent6cb4e7de26ca84cac29775d9a7360c4a20b5cfbf (diff)
Fixed memory leak.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'abstractmetabuilder.h')
-rw-r--r--abstractmetabuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h
index 487cade..8b29009 100644
--- a/abstractmetabuilder.h
+++ b/abstractmetabuilder.h
@@ -167,7 +167,7 @@ public:
bool inheritTemplate(AbstractMetaClass *subclass,
const AbstractMetaClass *templateClass,
const TypeParser::Info &info);
- AbstractMetaType *inheritTemplateType(const QList<AbstractMetaType *> &templateTypes, AbstractMetaType *metaType, bool *ok = 0);
+ AbstractMetaType *inheritTemplateType(const QList<AbstractMetaType *> &templateTypes, const AbstractMetaType *metaType, bool *ok = 0);
bool isQObject(const QString &qualifiedName);
bool isEnum(const QStringList &qualifiedName);