Commit bf237b57 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Fix ThreadPoolExecutor::getPendingTaskCount decl

Summary:
[Folly] Fix `ThreadPoolExecutor::getPendingTaskCount` decl return type to match defn.

Fixes #843.

Reviewed By: djwatson

Differential Revision: D7914071

fbshipit-source-id: a22658b1dd48a5e73fae3a0312f72007230e36c8
parent 20665b48
...@@ -104,7 +104,7 @@ class ThreadPoolExecutor : public virtual folly::Executor { ...@@ -104,7 +104,7 @@ class ThreadPoolExecutor : public virtual folly::Executor {
}; };
PoolStats getPoolStats(); PoolStats getPoolStats();
uint64_t getPendingTaskCount(); size_t getPendingTaskCount();
std::string getName(); std::string getName();
struct TaskStats { struct TaskStats {
......
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