mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -304,7 +304,7 @@ void Specific_RE_Matcher::Dump(FILE* f)
|
|||
|
||||
inline void RE_Match_State::AddMatches(const AcceptingSet& as, MatchPos position)
|
||||
{
|
||||
typedef std::pair<AcceptIdx, MatchPos> am_idx;
|
||||
using am_idx = std::pair<AcceptIdx, MatchPos>;
|
||||
|
||||
for ( AcceptingSet::const_iterator it = as.begin(); it != as.end(); ++it )
|
||||
accepted_matches.insert(am_idx(*it, position));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue