diff options
author | 2015-07-16 21:44:44 -0700 | |
---|---|---|
committer | 2015-07-16 21:44:44 -0700 | |
commit | 72a44178e92cc103507e2bdc1a52e709de83b767 (patch) | |
tree | ae469fd67a5ec288798e80e58e10bcc31a998895 /include/grpc++/thread_pool_interface.h | |
parent | 65ef0fffaecf8396cb93b3a76416d099f7b07438 (diff) |
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
Diffstat (limited to 'include/grpc++/thread_pool_interface.h')
-rw-r--r-- | include/grpc++/thread_pool_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/thread_pool_interface.h b/include/grpc++/thread_pool_interface.h index ac4458d530..d080b31dcc 100644 --- a/include/grpc++/thread_pool_interface.h +++ b/include/grpc++/thread_pool_interface.h @@ -44,7 +44,7 @@ class ThreadPoolInterface { virtual ~ThreadPoolInterface() {} // Schedule the given callback for execution. - virtual void ScheduleCallback(const std::function<void()>& callback) = 0; + virtual void Add(const std::function<void()>& callback) = 0; }; ThreadPoolInterface* CreateDefaultThreadPool(); |