mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38: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
|
@ -267,7 +267,7 @@ size_t ODesc::StartsWithEscapeSequence(const char* start, const char* end)
|
|||
|
||||
std::pair<const char*, size_t> ODesc::FirstEscapeLoc(const char* bytes, size_t n)
|
||||
{
|
||||
typedef std::pair<const char*, size_t> escape_pos;
|
||||
using escape_pos = std::pair<const char*, size_t>;
|
||||
|
||||
if ( IsBinary() )
|
||||
return escape_pos(0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue