Skip to content

Commit

Permalink
Merge branch 'master' of github.com:TartanLlama/expected
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Brand committed Sep 6, 2018
2 parents ceb8bfe + 2b5d7ed commit e5ec759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tl/expected.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ struct expected_operations_base<void, E> : expected_storage_base<void, E> {
}
constexpr const unexpected<E> &geterr() const & { return this->m_unexpect; }
TL_EXPECTED_11_CONSTEXPR unexpected<E> &&geterr() && {
std::move(this->m_unexpect);
return std::move(this->m_unexpect);
}
#ifndef TL_EXPECTED_NO_CONSTRR
constexpr const unexpected<E> &&geterr() const && {
Expand Down

0 comments on commit e5ec759

Please sign in to comment.