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:
JoelStienlet 2020-03-06 15:55:36 +01:00 committed by GitHub
parent 9fb3e61e89
commit 4000c5c899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,6 @@ namespace g3 {
std::future<result_type> result = task.get_future();
worker->send(MoveOnCopy<task_type>(std::move(task)));
return std::move(result);
return result;
}
} // end namespace g3