reduce memory usage

This commit is contained in:
orignal 2015-03-12 16:26:08 -04:00
parent 57d4ccfdfd
commit c7edc36106
3 changed files with 10 additions and 12 deletions

View file

@ -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;