diff options
Diffstat (limited to 'Swiften/Elements/MUCUserPayload.h')
-rw-r--r-- | Swiften/Elements/MUCUserPayload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/MUCUserPayload.h b/Swiften/Elements/MUCUserPayload.h index de9f1e5..158258b 100644 --- a/Swiften/Elements/MUCUserPayload.h +++ b/Swiften/Elements/MUCUserPayload.h @@ -41,7 +41,7 @@ namespace Swift { MUCUserPayload() { } - void addItem(MUCItem item) {items_.push_back(item);} + void addItem(const MUCItem& item) {items_.push_back(item);} void addStatusCode(StatusCode code) {statusCodes_.push_back(code);} |