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:
Markus Mäkelä 2019-05-09 17:46:57 +03:00
parent 1efe3e0b20
commit 142038051c
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -610,7 +610,7 @@ public:
RoutingWorker::EXECUTE_AUTO);
sem.wait_n(n);
return std::move(rval);
return rval;
}
private: