summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Hansen <khansen@scrabble.troll.no>2008-08-26 12:10:28 +0200
committerKent Hansen <khansen@scrabble.troll.no>2008-08-26 12:10:28 +0200
commitac3acf674aff3f248d08d51a10ba0595cbd5a508 (patch)
tree3b191df0866226bc28df82bd0a10694c63a74439
parent203fec3426c8337544a3e5a9ba6691dea3814f08 (diff)
bug in TypeInfo::operator==() (patch contributed by Peter Kümmel)
-rw-r--r--generator/parser/codemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/parser/codemodel.cpp b/generator/parser/codemodel.cpp
index 6d8d78e..4e57835 100644
--- a/generator/parser/codemodel.cpp
+++ b/generator/parser/codemodel.cpp
@@ -198,7 +198,7 @@ QString TypeInfo::toString() const
bool TypeInfo::operator==(const TypeInfo &other)
{
- if (arrayElements().count() != other.arguments().count())
+ if (arrayElements().count() != other.arrayElements().count())
return false;
#if defined (RXX_CHECK_ARRAY_ELEMENTS) // ### it'll break