summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-09-23 18:04:46 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-09-23 18:58:44 (GMT)
commitde50064af14eb31f027ea7fa59501c9b3754eafd (patch)
tree09ce1748c8ae20df7262524e66186f4e7f820db2 /Swiften/Elements/MUCAdminPayload.h
parentf9c432ca127d6e7d87b49d2fbf6aace34bea0e06 (diff)
downloadswift-contrib-de50064af14eb31f027ea7fa59501c9b3754eafd.zip
swift-contrib-de50064af14eb31f027ea7fa59501c9b3754eafd.tar.bz2
Cleanup of previous patch
Diffstat (limited to 'Swiften/Elements/MUCAdminPayload.h')
-rw-r--r--Swiften/Elements/MUCAdminPayload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/MUCAdminPayload.h b/Swiften/Elements/MUCAdminPayload.h
index 7b3da20..dc09a24 100644
--- a/Swiften/Elements/MUCAdminPayload.h
+++ b/Swiften/Elements/MUCAdminPayload.h
@@ -25,7 +25,7 @@ namespace Swift {
MUCAdminPayload() {
}
- void addItem(MUCItem item) {items_.push_back(item);}
+ void addItem(const MUCItem& item) {items_.push_back(item);}
const std::vector<MUCItem>& getItems() const {return items_;}