Replace most uses of typedef with using for type aliasing

This commit is contained in:
Tim Wojtulewicz 2021-10-11 14:51:10 -07:00
parent 7101f30646
commit 64748edab1
44 changed files with 100 additions and 101 deletions

View file

@ -29,8 +29,8 @@ enum HasherType
class Hasher
{
public:
typedef zeek::detail::hash_t digest;
typedef std::vector<digest> digest_vector;
using digest = zeek::detail::hash_t;
using digest_vector = std::vector<digest>;
struct seed_t
{
// actually HH_U64, which has the same type