diff options
Diffstat (limited to 'storage/src/vespa/storageapi/defs.h')
-rw-r--r-- | storage/src/vespa/storageapi/defs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/vespa/storageapi/defs.h b/storage/src/vespa/storageapi/defs.h index 9ee9fdf2218..bf802a20a5c 100644 --- a/storage/src/vespa/storageapi/defs.h +++ b/storage/src/vespa/storageapi/defs.h @@ -10,9 +10,9 @@ namespace storage:: api { -typedef uint64_t Timestamp; -typedef uint32_t VisitorId; +using Timestamp = uint64_t; +using VisitorId = uint32_t; -const Timestamp MAX_TIMESTAMP = (Timestamp)-1ll; +constexpr Timestamp MAX_TIMESTAMP = (Timestamp)-1LL; } |