mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Readd struct disappeared in rebase + fix warning
This commit is contained in:
parent
612d47908d
commit
13e0179812
2 changed files with 11 additions and 2 deletions
|
@ -1969,3 +1969,4 @@ bool RsGxsDataAccess::checkMsgFilter(
|
||||||
return true;
|
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
|
struct GxsGroupStatistic : RsSerializable
|
||||||
{
|
{
|
||||||
GxsGroupStatistic() :
|
GxsGroupStatistic() :
|
||||||
|
@ -199,7 +207,7 @@ struct GxsGroupStatistic : RsSerializable
|
||||||
|
|
||||||
/// @see RsSerializable
|
/// @see RsSerializable
|
||||||
void serial_process( RsGenericSerializer::SerializeJob j,
|
void serial_process( RsGenericSerializer::SerializeJob j,
|
||||||
RsGenericSerializer::SerializeContext& ctx) override
|
RsGenericSerializer::SerializeContext& ctx ) override
|
||||||
{
|
{
|
||||||
RS_SERIAL_PROCESS(mGrpId);
|
RS_SERIAL_PROCESS(mGrpId);
|
||||||
RS_SERIAL_PROCESS(mNumMsgs);
|
RS_SERIAL_PROCESS(mNumMsgs);
|
||||||
|
@ -219,7 +227,7 @@ struct GxsGroupStatistic : RsSerializable
|
||||||
uint32_t mNumChildMsgsNew;
|
uint32_t mNumChildMsgsNew;
|
||||||
uint32_t mNumChildMsgsUnread;
|
uint32_t mNumChildMsgsUnread;
|
||||||
|
|
||||||
~GxsGroupStatistic() override = default;
|
~GxsGroupStatistic() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class GxsServiceStatistic
|
class GxsServiceStatistic
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue