Fix GCC 9 warnings
GCC 9 has warnings about pessimistic return values which are triggered by returning a local value via std::move.
This commit is contained in:
@ -610,7 +610,7 @@ public:
|
|||||||
RoutingWorker::EXECUTE_AUTO);
|
RoutingWorker::EXECUTE_AUTO);
|
||||||
|
|
||||||
sem.wait_n(n);
|
sem.wait_n(n);
|
||||||
return std::move(rval);
|
return rval;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user