mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Some minor c++ modernization in EnumType methods
This commit is contained in:
parent
c22e54604f
commit
08101eb372
2 changed files with 8 additions and 14 deletions
|
@ -869,8 +869,7 @@ protected:
|
|||
// Whether any of the elements of the enum were added via redef's.
|
||||
bool has_redefs = false;
|
||||
|
||||
using ValMap = std::unordered_map<zeek_int_t, EnumValPtr>;
|
||||
ValMap vals;
|
||||
std::unordered_map<zeek_int_t, EnumValPtr> vals;
|
||||
|
||||
// The counter is initialized to 0 and incremented on every implicit
|
||||
// auto-increment name that gets added (thus its > 0 if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue