forked from TartanLlama/expected
Add missing return
keyword (#35)
This commit is contained in:
@ -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 && {
|
||||
|
Reference in New Issue
Block a user