summaryrefslogtreecommitdiffstats
path: root/src/membergroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/membergroup.h')
-rw-r--r--src/membergroup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/membergroup.h b/src/membergroup.h
index cedad1e..496a95d 100644
--- a/src/membergroup.h
+++ b/src/membergroup.h
@@ -115,6 +115,10 @@ class MemberGroupSDict : public SIntDict<MemberGroup>
public:
MemberGroupSDict(int size=17) : SIntDict<MemberGroup>(size) {}
~MemberGroupSDict() {}
+ int compareItems(GCI item1,GCI item2)
+ {
+ return ((MemberGroup *)item1)->groupId() - ((MemberGroup*)item2)->groupId();
+ }
};