mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
use flat_map for smaller tables
This commit is contained in:
parent
18b6ba80f2
commit
518e53a61c
4 changed files with 7 additions and 7 deletions
|
@ -218,7 +218,7 @@ namespace transport
|
|||
|
||||
void SSUServer::AddRelay (uint32_t tag, std::shared_ptr<SSUSession> relay)
|
||||
{
|
||||
m_Relays[tag] = relay;
|
||||
m_Relays.emplace (tag, relay);
|
||||
}
|
||||
|
||||
void SSUServer::RemoveRelay (uint32_t tag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue