mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 19:26:31 -04:00
switch BanListItem classes to new serialization system
This commit is contained in:
parent
691ed8de08
commit
731e20d0a3
6 changed files with 93 additions and 330 deletions
|
@ -84,7 +84,12 @@ class RsItem: public RsMemoryManagement::SmallObject
|
|||
|
||||
virtual ~RsItem();
|
||||
virtual void clear() = 0;
|
||||
virtual std::ostream &print(std::ostream &out, uint16_t indent = 0) = 0;
|
||||
virtual std::ostream &print(std::ostream &out, uint16_t indent = 0)
|
||||
{
|
||||
std::cerr << "(EE) RsItem::print() called by an item using new serialization classes, but not derived! " << std::endl;
|
||||
#warning This method should normally call serial_process(PRINT,ctx)
|
||||
return out;
|
||||
}
|
||||
void print_string(std::string &out, uint16_t indent = 0);
|
||||
|
||||
/* source / destination id */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue