diff options
Diffstat (limited to 'grpc/src/core/lib/iomgr/executor.h')
-rw-r--r-- | grpc/src/core/lib/iomgr/executor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grpc/src/core/lib/iomgr/executor.h b/grpc/src/core/lib/iomgr/executor.h index 7a5d16b9..37e5c1e5 100644 --- a/grpc/src/core/lib/iomgr/executor.h +++ b/grpc/src/core/lib/iomgr/executor.h @@ -70,7 +70,7 @@ class Executor { /** Enqueue the closure onto the executor. is_short is true if the closure is * a short job (i.e expected to not block and complete quickly) */ - void Enqueue(grpc_closure* closure, grpc_error* error, bool is_short); + void Enqueue(grpc_closure* closure, grpc_error_handle error, bool is_short); // TODO(sreek): Currently we have two executors (available globally): The // default executor and the resolver executor. @@ -83,7 +83,7 @@ class Executor { // Initialize ALL the executors static void InitAll(); - static void Run(grpc_closure* closure, grpc_error* error, + static void Run(grpc_closure* closure, grpc_error_handle error, ExecutorType executor_type = ExecutorType::DEFAULT, ExecutorJobType job_type = ExecutorJobType::SHORT); |