diff options
Diffstat (limited to 'Swiften/MUC/MUCOccupant.h')
-rw-r--r-- | Swiften/MUC/MUCOccupant.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/MUC/MUCOccupant.h b/Swiften/MUC/MUCOccupant.h index c9551de..96ac5ad 100644 --- a/Swiften/MUC/MUCOccupant.h +++ b/Swiften/MUC/MUCOccupant.h @@ -20,6 +20,7 @@ namespace Swift { enum Affiliation {Owner, Admin, Member, Outcast, NoAffiliation}; MUCOccupant(const String &nick, Role role, Affiliation affiliation); + MUCOccupant(const MUCOccupant& other); ~MUCOccupant(); String getNick() const; @@ -34,6 +35,7 @@ namespace Swift { Role role_; Affiliation affiliation_; boost::optional<JID> realJID_; + /* If you add a field, remember to update the const copy constructor */ }; } |