summaryrefslogtreecommitdiff
path: root/include/fud_result.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/fud_result.hpp')
-rw-r--r--include/fud_result.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fud_result.hpp b/include/fud_result.hpp
index b91a31a..0f501e8 100644
--- a/include/fud_result.hpp
+++ b/include/fud_result.hpp
@@ -307,7 +307,7 @@ class [[nodiscard]] Result {
static constexpr auto Size = std::max(sizeof(T), sizeof(E));
static constexpr auto Align = std::max(alignof(T), alignof(E));
- option_detail::DataArray<Size> m_data{};
+ alignas(Align) option_detail::DataArray<Size> m_data{};
enum class Discriminant : uint8_t
{