summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-23 18:57:05 (GMT)
committerVlad Voicu <vladvoic@gmail.com>2011-05-31 18:34:02 (GMT)
commita2085ddc61b74d630d1b117e6b0a2be05dd911ea (patch)
tree00dd0659e0ed3c2f1d17b4a2ef2dd6d742fab943 /Swift/Controllers/Roster/RosterController.h
parent182bdd709a57ab4d17f163ae28c5663fb3dd4287 (diff)
downloadswift-contrib-a2085ddc61b74d630d1b117e6b0a2be05dd911ea.zip
swift-contrib-a2085ddc61b74d630d1b117e6b0a2be05dd911ea.tar.bz2
Fixed const references to vectors.
This could potentially cause crashes (same as a previous patch).
Diffstat (limited to 'Swift/Controllers/Roster/RosterController.h')
-rw-r--r--Swift/Controllers/Roster/RosterController.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Roster/RosterController.h b/Swift/Controllers/Roster/RosterController.h
index f224180..0a2b818 100644
--- a/Swift/Controllers/Roster/RosterController.h
+++ b/Swift/Controllers/Roster/RosterController.h
@@ -57,7 +57,7 @@ namespace Swift {
void handleOnJIDAdded(const JID &jid);
void handleRosterCleared();
void handleOnJIDRemoved(const JID &jid);
- void handleOnJIDUpdated(const JID &jid, const std::string& oldName, const std::vector<std::string> oldGroups);
+ void handleOnJIDUpdated(const JID &jid, const std::string& oldName, const std::vector<std::string>& oldGroups);
void handleStartChatRequest(const JID& contact);
void handleChangeStatusRequest(StatusShow::Type show, const std::string &statusText);
void handleShowOfflineToggled(bool state);