diff options
Diffstat (limited to 'include/fud_option.hpp')
-rw-r--r-- | include/fud_option.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fud_option.hpp b/include/fud_option.hpp index af2fcd3..3c94eaa 100644 --- a/include/fud_option.hpp +++ b/include/fud_option.hpp @@ -229,7 +229,7 @@ class Option { m_data.clear(); } - static constexpr auto Align = std::max(alignof(T), alignof(std::reference_wrapper<T>)); + static constexpr auto Align = std::max(alignof(ValueType), alignof(std::reference_wrapper<ValueType>)); alignas(Align) option_detail::DataArray<Size> m_data{}; bool m_engaged; |