mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 03:36:58 -04:00
Better usage of type traits
Don't need register types for serializationanymore Don't need casting helpers for serialization
This commit is contained in:
parent
ba6f2d7e81
commit
8b774595d7
12 changed files with 145 additions and 279 deletions
|
@ -294,8 +294,6 @@ private:
|
|||
RsIdentityUsage();
|
||||
};
|
||||
|
||||
RS_REGISTER_SERIALIZABLE_TYPE_DECL(RsIdentityUsage)
|
||||
|
||||
|
||||
struct RsIdentityDetails : RsSerializable
|
||||
{
|
||||
|
|
|
@ -364,7 +364,6 @@ class CompressedChunkMap : public RsSerializable
|
|||
{ RS_SERIAL_PROCESS(_map); }
|
||||
};
|
||||
|
||||
RS_REGISTER_SERIALIZABLE_TYPE_DECL(CompressedChunkMap)
|
||||
|
||||
template<class CRCTYPE> class t_CRCMap
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue