mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Changed implementation from std::map to std::unordered_map of Val.cc
This commit is contained in:
parent
d7474e2aa2
commit
9a3855cc38
2 changed files with 4 additions and 5 deletions
|
@ -339,7 +339,7 @@ public:
|
|||
const PortValPtr& Port(uint32_t port_num);
|
||||
|
||||
private:
|
||||
std::map<std::pair<uint32_t, TransportProto>, PortValPtr> ports;
|
||||
std::unordered_map<uint32_t, PortValPtr> ports;
|
||||
std::array<ValPtr, PREALLOCATED_COUNTS> counts;
|
||||
std::array<ValPtr, PREALLOCATED_INTS> ints;
|
||||
StringValPtr empty_string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue