mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-06 00:31:12 +01:00
remove std::move in return : std::future can only be moved anyway (#336)
Co-authored-by: Joel Stienlet <stienlet@localhost.localdomain>
This commit is contained in:
parent
9fb3e61e89
commit
4000c5c899
@ -58,6 +58,6 @@ namespace g3 {
|
|||||||
|
|
||||||
std::future<result_type> result = task.get_future();
|
std::future<result_type> result = task.get_future();
|
||||||
worker->send(MoveOnCopy<task_type>(std::move(task)));
|
worker->send(MoveOnCopy<task_type>(std::move(task)));
|
||||||
return std::move(result);
|
return result;
|
||||||
}
|
}
|
||||||
} // end namespace g3
|
} // end namespace g3
|
||||||
|
Loading…
Reference in New Issue
Block a user