summaryrefslogtreecommitdiff
path: root/src/definition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/definition.h b/src/definition.h
index f444cc5..dfd9dad 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2013 by Dimitri van Heesch.
+ * Copyright (C) 1997-2014 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -371,11 +371,9 @@ class DefinitionList : public QList<Definition>, public DefinitionIntf
public:
~DefinitionList() {}
DefType definitionType() const { return TypeSymbolList; }
- int compareItems(QCollection::Item item1,QCollection::Item item2)
+ int compareValues(const Definition *item1,const Definition *item2) const
{
- return qstricmp(((Definition *)item1)->name(),
- ((Definition *)item2)->name()
- );
+ return qstricmp(item1->name(),item2->name());
}
};