mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18: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
|
@ -284,7 +284,7 @@ double calc_next_rotate(double current, double rotate_interval, double base);
|
|||
|
||||
template <class T> void delete_each(T* t)
|
||||
{
|
||||
typedef typename T::iterator iterator;
|
||||
using iterator = typename T::iterator;
|
||||
for ( iterator it = t->begin(); it != t->end(); ++it )
|
||||
delete *it;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue