mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
reduce memory usage
This commit is contained in:
parent
57d4ccfdfd
commit
c7edc36106
3 changed files with 10 additions and 12 deletions
|
@ -553,14 +553,6 @@ namespace data
|
|||
m_Properties[key] = value;
|
||||
}
|
||||
|
||||
const char * RouterInfo::GetProperty (const char * key) const
|
||||
{
|
||||
auto it = m_Properties.find (key);
|
||||
if (it != m_Properties.end ())
|
||||
return it->second.c_str ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool RouterInfo::IsFloodfill () const
|
||||
{
|
||||
return m_Caps & Caps::eFloodfill;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue