Skip to content

Commit

Permalink
Remove unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxwa committed Jan 13, 2024
1 parent e734681 commit 4974887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ class proxy {
~proxy() requires(HasTrivialDestructor) = default;
~proxy() requires(!HasDestructor) = delete;

[[nodiscard]] bool has_value() const noexcept { return meta_ != nullptr; }
[[nodiscard]] decltype(auto) reflect() const noexcept
bool has_value() const noexcept { return meta_ != nullptr; }
decltype(auto) reflect() const noexcept
requires(!std::is_void_v<typename F::reflection_type>)
{ return static_cast<const typename F::reflection_type&>(*meta_); }
void reset() noexcept(HasNothrowDestructor) requires(HasDestructor)
Expand Down

0 comments on commit 4974887

Please sign in to comment.