summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-12-27 15:26:42 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-12-27 15:27:37 -0300
commit201840632f4bb361d3ff87819b844dfd9d93e36f (patch)
tree51bc7736e2ab22d9510374db3afff83ec727b374
parent5174c6ad3818247c9586804aae2394a68ef30d47 (diff)
downloadgeneratorrunner-201840632f4bb361d3ff87819b844dfd9d93e36f.tar.gz
generatorrunner-201840632f4bb361d3ff87819b844dfd9d93e36f.tar.xz
generatorrunner-201840632f4bb361d3ff87819b844dfd9d93e36f.zip
Fixes container check in Generator::getSimplifiedContainerTypeName method.
-rw-r--r--generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.cpp b/generator.cpp
index 2b63756..9f81b93 100644
--- a/generator.cpp
+++ b/generator.cpp
@@ -84,7 +84,7 @@ bool Generator::setup(const ApiExtractor& extractor, const QMap< QString, QStrin
QString Generator::getSimplifiedContainerTypeName(const AbstractMetaType* type)
{
- if (!type->isContainer())
+ if (!type->typeEntry()->isContainer())
return type->cppSignature();
QString typeName = type->cppSignature();
if (type->isConstant())