Fix the indentation
This commit is contained in:
parent
b7b2afa8e7
commit
6798e285e2
4
third_party/sol2/include/sol/sol.hpp
vendored
4
third_party/sol2/include/sol/sol.hpp
vendored
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user