Fix the indentation

This commit is contained in:
Alexander Farber 2025-01-12 21:05:36 +01:00
parent b7b2afa8e7
commit 6798e285e2

View File

@ -6752,8 +6752,8 @@ namespace sol {
static_assert(std::is_constructible<T, Args&&...>::value, "T must be constructible with Args"); static_assert(std::is_constructible<T, Args&&...>::value, "T must be constructible with Args");
*this = nullopt; *this = nullopt;
new (static_cast<void*>(this)) optional(std::in_place, std::forward<Args>(args)...); new (static_cast<void*>(this)) optional(std::in_place, std::forward<Args>(args)...);
return **this; return **this;
} }
/// Swaps this optional with the other. /// Swaps this optional with the other.