mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 08:11:11 +00:00
update router caps
This commit is contained in:
parent
ef72ba3f34
commit
70f99ccc21
@ -1498,7 +1498,9 @@ namespace data
|
||||
|
||||
void LocalRouterInfo::SetProperty (std::string_view key, std::string_view value)
|
||||
{
|
||||
m_Properties.emplace (key, value);
|
||||
auto [it, inserted] = m_Properties.emplace (key, value);
|
||||
if (!inserted)
|
||||
it->second = value;
|
||||
}
|
||||
|
||||
void LocalRouterInfo::DeleteProperty (const std::string& key)
|
||||
|
Loading…
x
Reference in New Issue
Block a user