diff --git a/BAN/include/BAN/Optional.h b/BAN/include/BAN/Optional.h index 8f4987dfd8..4d50c20e73 100644 --- a/BAN/include/BAN/Optional.h +++ b/BAN/include/BAN/Optional.h @@ -44,7 +44,7 @@ namespace BAN constexpr void clear(); private: - alignas(T) uint8_t m_storage[sizeof(T)]; + alignas(T) uint8_t m_storage[sizeof(T)] {}; bool m_has_value { false }; };