diff options
Diffstat (limited to 'libc/src/string/memory_utils/utils.h')
-rw-r--r-- | libc/src/string/memory_utils/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/string/memory_utils/utils.h b/libc/src/string/memory_utils/utils.h index 543d45b..701a843 100644 --- a/libc/src/string/memory_utils/utils.h +++ b/libc/src/string/memory_utils/utils.h @@ -130,8 +130,8 @@ template <typename T> struct StrictIntegralType { } // Helper to get the zero value. - LIBC_INLINE static constexpr StrictIntegralType ZERO() { return {T(0)}; } - LIBC_INLINE static constexpr StrictIntegralType NONZERO() { return {T(1)}; } + LIBC_INLINE static constexpr StrictIntegralType zero() { return {T(0)}; } + LIBC_INLINE static constexpr StrictIntegralType nonzero() { return {T(1)}; } private: T value; |