mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +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
|
@ -85,9 +85,8 @@ struct Manager::Stream
|
|||
Func* policy;
|
||||
list<Filter*> filters;
|
||||
|
||||
typedef pair<int, string> WriterPathPair;
|
||||
|
||||
typedef map<WriterPathPair, WriterInfo*> WriterMap;
|
||||
using WriterPathPair = pair<int, string>;
|
||||
using WriterMap = map<WriterPathPair, WriterInfo*>;
|
||||
|
||||
WriterMap writers; // Writers indexed by id/path pair.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue