Commit 7c6f1f55 authored by Dave Watson's avatar Dave Watson Committed by Facebook Github Bot

Add missing std::move

Summary: blame D7477268.  Some callsites use UnboundedBlockingQueue with non-copyable CPUTasks, must also have std::move here.

Reviewed By: yfeldblum

Differential Revision: D7655710

fbshipit-source-id: cf8dba1df0c1703ffea1c0c0445c7d14deaf1d61
parent 12b9f49e
......@@ -47,7 +47,7 @@ class UnboundedBlockingQueue : public BlockingQueue<T> {
return folly::none;
}
}
return item;
return std::move(item);
}
size_t size() override {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment