mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-29 08:37:36 -04:00
converted RTT items to new serialization
This commit is contained in:
parent
5071c4bc7f
commit
f6aaee7382
10 changed files with 65 additions and 47 deletions
|
@ -32,10 +32,11 @@ class RsSerializer: public RsSerialType
|
|||
/*! create_item
|
||||
* should be overloaded to create the correct type of item depending on the data
|
||||
*/
|
||||
virtual RsItem *create_item(uint16_t /* service */, uint8_t /* item_sub_id */) const
|
||||
{
|
||||
return NULL ;
|
||||
}
|
||||
virtual RsItem *create_item(uint16_t /* service */, uint8_t /* item_sub_id */) const=0;
|
||||
// {
|
||||
// std::cerr << "(EE) Serializer does not overload create_item(). This is probably an error."<< std::endl;
|
||||
// return NULL ;
|
||||
// }
|
||||
|
||||
// The following functions overload RsSerialType. They *should not* need to be further overloaded.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue