aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-09-27 18:30:01 +0200
committerGravatar Attila Molnar2014-09-27 18:30:01 +0200
commit8c2cdeaf33bf6fa2d51df0e6e2c0cbdfc3e1230b (patch)
tree6fc17fc57340f710138b7818dd908d5078e7c3c4 /include
parentAdd the insp::aligned_storage template (diff)
Store Membership objects physically in the nodes of Channel::MemberMap
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index eeb2501fa..2b7c5d025 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -39,7 +39,7 @@ class CoreExport Channel : public Extensible, public InviteBase<Channel>
public:
/** A map of Memberships on a channel keyed by User pointers
*/
- typedef std::map<User*, Membership*> MemberMap;
+ typedef std::map<User*, insp::aligned_storage<Membership> > MemberMap;
private:
/** Set default modes for the channel on creation