Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki committed Apr 2, 2023
1 parent 6629eb3 commit 263a771
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/LuaBridge/detail/Result.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,37 +80,37 @@ struct TypeResult
return m_value.hasValue();
}

const T& value() const noexcept
const T& value() const
{
return m_value.value();
}

T& operator*() & noexcept
T& operator*() &
{
return m_value.value();
}

T operator*() && noexcept
T operator*() &&
{
return std::move(m_value.value());
}

const T& operator*() const& noexcept
const T& operator*() const&
{
return m_value.value();
}

T operator*() const&& noexcept
T operator*() const&&
{
return std::move(m_value.value());
}

std::error_code error() const noexcept
std::error_code error() const
{
return m_value.error();
}

operator std::error_code() const noexcept
operator std::error_code() const
{
return m_value.error();
}
Expand Down

0 comments on commit 263a771

Please sign in to comment.