removed unused print methods in some RsItems since now print is handled by serializer

This commit is contained in:
csoler 2020-02-29 12:14:37 +01:00
parent 34fc132003
commit 4124585b55
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 0 additions and 15 deletions

View file

@ -99,8 +99,6 @@ class RsChatItem: public RsItem
}
virtual ~RsChatItem() {}
virtual std::ostream& print(std::ostream &out, uint16_t /*indent*/ = 0) { return out; } // derived from RsItem, but should be removed
virtual void clear() {}
};

View file

@ -181,8 +181,6 @@ public:
{}
void clear() {}
std::ostream &print(std::ostream &out, uint16_t /*indent = 0*/)
{ return out; }
};
class RsGxsTransSerializer;

View file

@ -173,9 +173,6 @@ void RsNxsMsg::clear()
meta.TlvClear();
}
std::ostream&RsNxsMsg::print(std::ostream& out, uint16_t /*indent*/)
{ return out; }
void RsNxsGrp::clear()
{
grpId.clear();

View file

@ -378,7 +378,6 @@ struct RsNxsMsg : RsNxsItem
RsGenericSerializer::SerializeContext& ctx );
virtual void clear();
virtual std::ostream &print(std::ostream& out, uint16_t indent);
uint8_t pos; /// used for splitting up msg
uint8_t count; /// number of split up messages