From ac47be51b79f4c3e49656870e135453eefe759ea Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Thu, 7 Nov 2024 23:38:52 +0100 Subject: Some more work on asl::string_view --- asl/layout.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'asl/layout.hpp') diff --git a/asl/layout.hpp b/asl/layout.hpp index 5141456..06fbe10 100644 --- a/asl/layout.hpp +++ b/asl/layout.hpp @@ -7,15 +7,15 @@ namespace asl { template -inline constexpr int64_t size_of = static_cast(sizeof(T)); +inline constexpr isize_t size_of = static_cast(sizeof(T)); template -inline constexpr int64_t align_of = static_cast(alignof(T)); +inline constexpr isize_t align_of = static_cast(alignof(T)); struct layout { - int64_t size; - int64_t align; + isize_t size; + isize_t align; constexpr bool operator==(const layout&) const = default; -- cgit