mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 00:15:51 -04:00
removed unused print methods in some RsItems since now print is handled by serializer
This commit is contained in:
parent
34fc132003
commit
4124585b55
6 changed files with 0 additions and 15 deletions
|
@ -99,8 +99,6 @@ class RsChatItem: public RsItem
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~RsChatItem() {}
|
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() {}
|
virtual void clear() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -181,8 +181,6 @@ public:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void clear() {}
|
void clear() {}
|
||||||
std::ostream &print(std::ostream &out, uint16_t /*indent = 0*/)
|
|
||||||
{ return out; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class RsGxsTransSerializer;
|
class RsGxsTransSerializer;
|
||||||
|
|
|
@ -173,9 +173,6 @@ void RsNxsMsg::clear()
|
||||||
meta.TlvClear();
|
meta.TlvClear();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream&RsNxsMsg::print(std::ostream& out, uint16_t /*indent*/)
|
|
||||||
{ return out; }
|
|
||||||
|
|
||||||
void RsNxsGrp::clear()
|
void RsNxsGrp::clear()
|
||||||
{
|
{
|
||||||
grpId.clear();
|
grpId.clear();
|
||||||
|
|
|
@ -378,7 +378,6 @@ struct RsNxsMsg : RsNxsItem
|
||||||
RsGenericSerializer::SerializeContext& ctx );
|
RsGenericSerializer::SerializeContext& ctx );
|
||||||
|
|
||||||
virtual void clear();
|
virtual void clear();
|
||||||
virtual std::ostream &print(std::ostream& out, uint16_t indent);
|
|
||||||
|
|
||||||
uint8_t pos; /// used for splitting up msg
|
uint8_t pos; /// used for splitting up msg
|
||||||
uint8_t count; /// number of split up messages
|
uint8_t count; /// number of split up messages
|
||||||
|
|
|
@ -60,11 +60,6 @@ void RsFeedReaderFeed::clear()
|
||||||
content.clear();
|
content.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream &RsFeedReaderFeed::print(std::ostream &out, uint16_t /*indent*/)
|
|
||||||
{
|
|
||||||
return out;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t RsFeedReaderSerialiser::sizeFeed(RsFeedReaderFeed *item)
|
uint32_t RsFeedReaderSerialiser::sizeFeed(RsFeedReaderFeed *item)
|
||||||
{
|
{
|
||||||
uint32_t s = 8; /* header */
|
uint32_t s = 8; /* header */
|
||||||
|
|
|
@ -64,7 +64,6 @@ public:
|
||||||
|
|
||||||
std::string msgData;
|
std::string msgData;
|
||||||
|
|
||||||
std::ostream &print(std::ostream &out, uint16_t /*indent*/ = 0){ return out; }
|
|
||||||
void clear() { msgData.clear(); }
|
void clear() { msgData.clear(); }
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -79,7 +78,6 @@ public:
|
||||||
|
|
||||||
std::string grpData;
|
std::string grpData;
|
||||||
void clear() { grpData.clear(); }
|
void clear() { grpData.clear(); }
|
||||||
std::ostream &print(std::ostream &out, uint16_t /*indent*/ = 0){ return out; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue