diff options
Diffstat (limited to 'Swiften/Elements/MUCAdminPayload.h')
-rw-r--r-- | Swiften/Elements/MUCAdminPayload.h | 2 |
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_;} |