mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::ctx::future: Ensure value is moved out.
This commit is contained in:
parent
f073657b5a
commit
13e2d56850
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ ircd::ctx::future<T>::get()
|
|||
if(bool(state().eptr))
|
||||
std::rethrow_exception(state().eptr);
|
||||
|
||||
return state().val;
|
||||
return std::move(state().val);
|
||||
}
|
||||
|
||||
template<class T>
|
||||
|
|
Loading…
Reference in a new issue