change back to map and unodered_map

This commit is contained in:
orignal 2021-09-25 18:30:17 -04:00
parent b9dd4aee8d
commit 1bb1d89fab
4 changed files with 10 additions and 9 deletions

View file

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