allocate actual RouterInfo's buffer size

This commit is contained in:
orignal 2019-05-23 09:34:04 -04:00
parent 7b9033d678
commit 78bfde237f

View File

@ -30,7 +30,6 @@ namespace data
m_SupportedTransports (0), m_Caps (0)
{
m_Addresses = boost::make_shared<Addresses>(); // create empty list
m_Buffer = new uint8_t[MAX_RI_BUFFER_SIZE];
ReadFromFile ();
}