From 8f12614f2da8221438a3807b1d234517650fbdb6 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Thu, 2 Jan 2025 16:27:56 -0600 Subject: Clang tidy fixes. --- include/fud_option.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fud_option.hpp') 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)); + static constexpr auto Align = std::max(alignof(ValueType), alignof(std::reference_wrapper)); alignas(Align) option_detail::DataArray m_data{}; bool m_engaged; -- cgit v1.2.3