Fix Status.h (#36)

This commit is contained in:
SF-Zhou 2025-03-02 13:25:31 +08:00 committed by GitHub
parent 963ac6f5ad
commit 69c1aea220
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,7 +101,7 @@ class [[nodiscard]] Status {
private:
static_assert(StatusCode::kOK == 0, "StatusCode::kOK must be 0!");
static_assert(__x86_64__ || __aarch64__, "The platform must be 64bit!");
static_assert(__x86_64__, "The platform must be 64bit!");
static_assert(sizeof(status_code_t) == 2, "The width of status_code_t must be 16b");
static constexpr auto kPtrBits = 48u;