From 727c3d5b7513a909038553a227552a33dc52d885 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 18 Oct 2012 20:06:02 -0400 Subject: Base has to destruct before Extensible does because objects that destruct due to Extensible destructing don't have their references to the already destroyed object for Base invalidated --- include/regchannel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/regchannel.h b/include/regchannel.h index 0f5bb022a..12ef308b4 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -163,7 +163,8 @@ struct CoreExport LogSetting : Serializable static Serializable* unserialize(Serializable *obj, Serialize::Data &); }; -class CoreExport ChannelInfo : public Extensible, public Flags, public Serializable +/* It matters that Base is here before Extensible (it is inherited by Serializable) */ +class CoreExport ChannelInfo : public Serializable, public Extensible, public Flags { private: serialize_obj founder; /* Channel founder */ -- cgit