More checks.

Use using instead of typedef.
This commit is contained in:
David Chisnall
2019-04-29 17:01:32 +01:00
parent 5c197e4ae4
commit 91f2310215
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ namespace snmalloc
* separated into two types, one for raw addresses and one for addresses that
* can be cast back to pointers.
*/
typedef uintptr_t address_t;
using address_t = uintptr_t;
/**
* Perform pointer arithmetic and return the adjusted pointer.