summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-10-01 12:12:33 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-10-01 12:12:33 (GMT)
commitbfdba314e4a2f37eb2416fe0dbdbaa743098a17d (patch)
treed46b76c3b92eca311725618dd494425beefea242 /Swift/Controllers/Roster/Roster.h
parent0f9c50e7bf71d000f8576bd112bdfa25de1397eb (diff)
downloadswift-contrib-bfdba314e4a2f37eb2416fe0dbdbaa743098a17d.zip
swift-contrib-bfdba314e4a2f37eb2416fe0dbdbaa743098a17d.tar.bz2
Roster optimizations.
Diffstat (limited to 'Swift/Controllers/Roster/Roster.h')
-rw-r--r--Swift/Controllers/Roster/Roster.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/Roster/Roster.h b/Swift/Controllers/Roster/Roster.h
index 2b4dd27..2fcfba5 100644
--- a/Swift/Controllers/Roster/Roster.h
+++ b/Swift/Controllers/Roster/Roster.h
@@ -54,7 +54,8 @@ class Roster {
void filterAll();
GroupRosterItem* root_;
std::vector<RosterFilter*> filters_;
- std::map<JID, std::vector<ContactRosterItem*> > itemMap_;
+ typedef std::map<JID, std::vector<ContactRosterItem*> > ItemMap;
+ ItemMap itemMap_;
bool fullJIDMapping_;
bool sortByStatus_;
};