diff options
Diffstat (limited to 'AK/Optional.h')
-rw-r--r-- | AK/Optional.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/AK/Optional.h b/AK/Optional.h index 7686bfdd5d..e14f4ecf49 100644 --- a/AK/Optional.h +++ b/AK/Optional.h @@ -29,6 +29,7 @@ #include <AK/Assertions.h> #include <AK/Platform.h> #include <AK/StdLibExtras.h> +#include <AK/Types.h> namespace AK { @@ -157,7 +158,7 @@ private: ASSERT(m_has_value); return *reinterpret_cast<const T*>(&m_storage); } - unsigned char m_storage[sizeof(T)] { 0 }; + u8 m_storage[sizeof(T)] { 0 }; bool m_has_value { false }; }; |