mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
Readd struct disappeared in rebase + fix warning
This commit is contained in:
parent
612d47908d
commit
13e0179812
@ -1969,3 +1969,4 @@ bool RsGxsDataAccess::checkMsgFilter(
|
||||
return true;
|
||||
}
|
||||
|
||||
GxsGroupStatistic::~GxsGroupStatistic() = default;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user