Add missing return keyword (#35)

This commit is contained in:
zhuhaow
2018-09-03 18:08:16 +08:00
committed by Simon Brand
parent 03689e9d21
commit 2b5d7ed2b3

View File

@ -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 && {