mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Replace most uses of typedef with using for type aliasing
This commit is contained in:
parent
7101f30646
commit
64748edab1
44 changed files with 100 additions and 101 deletions
|
@ -1689,8 +1689,7 @@ void EnumType::DescribeReST(ODesc* d, bool roles_only) const
|
|||
|
||||
// Create temporary, reverse name map so that enums can be documented
|
||||
// in ascending order of their actual integral value instead of by name.
|
||||
typedef map<bro_int_t, std::string> RevNameMap;
|
||||
|
||||
using RevNameMap = std::map<bro_int_t, std::string>;
|
||||
RevNameMap rev;
|
||||
|
||||
for ( NameMap::const_iterator it = names.begin(); it != names.end(); ++it )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue