Readd struct disappeared in rebase + fix warning

This commit is contained in:
Gioacchino Mazzurco 2020-04-04 01:09:18 +02:00
parent 612d47908d
commit 13e0179812
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
2 changed files with 11 additions and 2 deletions

View File

@ -1969,3 +1969,4 @@ bool RsGxsDataAccess::checkMsgFilter(
return true;
}
GxsGroupStatistic::~GxsGroupStatistic() = default;

View File

@ -191,6 +191,14 @@ struct RsMsgMetaData : RsSerializable
}
};
struct RsGxsGenericMsgData
{
virtual ~RsGxsGenericMsgData() = default; // making the type polymorphic
RsMsgMetaData mMeta;
};
struct GxsGroupStatistic : RsSerializable
{
GxsGroupStatistic() :
@ -199,7 +207,7 @@ struct GxsGroupStatistic : RsSerializable
/// @see RsSerializable
void serial_process( RsGenericSerializer::SerializeJob j,
RsGenericSerializer::SerializeContext& ctx) override
RsGenericSerializer::SerializeContext& ctx ) override
{
RS_SERIAL_PROCESS(mGrpId);
RS_SERIAL_PROCESS(mNumMsgs);
@ -219,7 +227,7 @@ struct GxsGroupStatistic : RsSerializable
uint32_t mNumChildMsgsNew;
uint32_t mNumChildMsgsUnread;
~GxsGroupStatistic() override = default;
~GxsGroupStatistic() override;
};
class GxsServiceStatistic