Commit 71fe1d6a authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Use ThreadPtr in CPUThreadPoolExecutor to match the declaration

Summary: Because it makes Visual Studio's intellisense happier, and it's always better to match exactly, rather than matching implicitly.

Reviewed By: yfeldblum

Differential Revision: D7821865

fbshipit-source-id: 9e2380884b2d8d12944e3a3fc921e532208b1791
parent 5840d67a
......@@ -114,7 +114,7 @@ CPUThreadPoolExecutor::getTaskQueue() {
return taskQueue_.get();
}
void CPUThreadPoolExecutor::threadRun(std::shared_ptr<Thread> thread) {
void CPUThreadPoolExecutor::threadRun(ThreadPtr thread) {
this->threadPoolHook_.registerThread();
thread->startupBaton.post();
......
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