Skip to content

Commit

Permalink
Fix the indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Farber authored and Alexander Farber committed Jan 12, 2025
1 parent b7b2afa commit 6798e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/sol2/include/sol/sol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6752,8 +6752,8 @@ namespace sol {
static_assert(std::is_constructible<T, Args&&...>::value, "T must be constructible with Args");

*this = nullopt;
new (static_cast<void*>(this)) optional(std::in_place, std::forward<Args>(args)...);
return **this;
new (static_cast<void*>(this)) optional(std::in_place, std::forward<Args>(args)...);
return **this;
}

/// Swaps this optional with the other.
Expand Down

0 comments on commit 6798e28

Please sign in to comment.