don't copy RouterInfos and LeaseSets

This commit is contained in:
orignal 2014-07-21 20:14:11 -04:00
parent 207022a6bb
commit f3c6dd4d3d
6 changed files with 50 additions and 24 deletions

View file

@ -68,6 +68,7 @@ namespace data
RouterInfo (const RouterInfo& ) = default;
RouterInfo& operator=(const RouterInfo& ) = default;
RouterInfo (const uint8_t * buf, int len);
void Update (const uint8_t * buf, int len);
const Identity& GetRouterIdentity () const { return m_RouterIdentity; };
void SetRouterIdentity (const Identity& identity);