mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
change back to map and unodered_map
This commit is contained in:
parent
b9dd4aee8d
commit
1bb1d89fab
4 changed files with 10 additions and 9 deletions
|
@ -12,7 +12,7 @@
|
|||
#include <inttypes.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <boost/container/flat_map.hpp>
|
||||
#include <unordered_map>
|
||||
#include "I2NPProtocol.h"
|
||||
#include "TunnelBase.h"
|
||||
|
||||
|
@ -59,8 +59,8 @@ namespace tunnel
|
|||
|
||||
private:
|
||||
|
||||
boost::container::flat_map<uint32_t, TunnelMessageBlockEx> m_IncompleteMessages;
|
||||
boost::container::flat_map<uint64_t, std::unique_ptr<Fragment> > m_OutOfSequenceFragments; // ((msgID << 8) + fragment#)->fragment
|
||||
std::unordered_map<uint32_t, TunnelMessageBlockEx> m_IncompleteMessages;
|
||||
std::unordered_map<uint64_t, std::unique_ptr<Fragment> > m_OutOfSequenceFragments; // ((msgID << 8) + fragment#)->fragment
|
||||
bool m_IsInbound;
|
||||
size_t m_NumReceivedBytes;
|
||||
TunnelMessageBlockEx m_CurrentMessage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue