summaryrefslogtreecommitdiff
path: root/include/fud_option.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2025-01-02 16:27:56 -0600
committerDominick Allen <djallen@librehumanitas.org>2025-01-02 16:27:56 -0600
commit8f12614f2da8221438a3807b1d234517650fbdb6 (patch)
tree18b4aebe99b1d64628546ca5811c10aeb139f1e7 /include/fud_option.hpp
parent87071200872c2450c947047350132aee493033c1 (diff)
Clang tidy fixes.
Diffstat (limited to 'include/fud_option.hpp')
-rw-r--r--include/fud_option.hpp2
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;