mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't allocate buffer from netdb for LocalRouterInfo
This commit is contained in:
parent
68d015763e
commit
5c15a12116
2 changed files with 16 additions and 4 deletions
|
@ -271,7 +271,8 @@ namespace data
|
|||
uint8_t ExtractAddressCaps (const char * value) const;
|
||||
template<typename Filter>
|
||||
std::shared_ptr<const Address> GetAddress (Filter filter) const;
|
||||
|
||||
virtual std::shared_ptr<Buffer> NewBuffer () const;
|
||||
|
||||
private:
|
||||
|
||||
std::string m_Family;
|
||||
|
@ -305,6 +306,7 @@ namespace data
|
|||
void WriteToStream (std::ostream& s) const;
|
||||
void UpdateCapsProperty ();
|
||||
void WriteString (const std::string& str, std::ostream& s) const;
|
||||
std::shared_ptr<Buffer> NewBuffer () const override;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue