aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/server/thread_pool_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpp/server/thread_pool_interface.h')
-rw-r--r--src/cpp/server/thread_pool_interface.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpp/server/thread_pool_interface.h b/src/cpp/server/thread_pool_interface.h
index 656e6673f1..028842a776 100644
--- a/src/cpp/server/thread_pool_interface.h
+++ b/src/cpp/server/thread_pool_interface.h
@@ -29,9 +29,7 @@ class ThreadPoolInterface {
virtual ~ThreadPoolInterface() {}
// Schedule the given callback for execution.
- // Return true on success, false on failure
- virtual bool Add(const std::function<void()>& callback)
- GRPC_MUST_USE_RESULT = 0;
+ virtual void Add(const std::function<void()>& callback) = 0;
};
// Allows different codebases to use their own thread pool impls