mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-07-28 20:59:24 +00:00
use std::array instead std::vector for priority
This commit is contained in:
@@ -662,7 +662,7 @@ namespace transport
|
||||
|
||||
void Transports::SetPriority (std::shared_ptr<Peer> peer)
|
||||
{
|
||||
static const std::vector<i2p::data::RouterInfo::SupportedTransports>
|
||||
static constexpr std::array
|
||||
ntcp2Priority =
|
||||
{
|
||||
i2p::data::RouterInfo::eNTCP2V6,
|
||||
|
||||
Reference in New Issue
Block a user