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

@ -21,9 +21,9 @@ namespace zeek::probabilistic::detail
class BitVector
{
public:
typedef uint64_t block_type;
typedef size_t size_type;
typedef bool const_reference;
using block_type = uint64_t;
using size_type = size_t;
using const_reference = bool;
static size_type npos;
static block_type bits_per_block;