diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-22 09:07:13 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-22 09:07:13 -0800 |
commit | b35b2a22a4ae32ba0170fbc2ca5230de2c4fd7e8 (patch) | |
tree | a759708858719373273015faaaabc03ebd67840b /src | |
parent | 69cf771a676821d162d414d8f54b6f788a64fa30 (diff) | |
parent | eb022becae96c1c3ba622e0880ae8024c3c600bc (diff) |
Merge branch 'bm_call_create' into deadline_mu
Diffstat (limited to 'src')
-rw-r--r-- | src/cpp/common/channel_filter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/common/channel_filter.h b/src/cpp/common/channel_filter.h index 5f9fd8790b..79c4bab985 100644 --- a/src/cpp/common/channel_filter.h +++ b/src/cpp/common/channel_filter.h @@ -244,7 +244,7 @@ class CallData { /// Initializes the call data. virtual grpc_error *Init(grpc_exec_ctx *exec_ctx, ChannelData *channel_data, - grpc_call_element_args *args) { + const grpc_call_element_args *args) { return GRPC_ERROR_NONE; } @@ -308,7 +308,7 @@ class ChannelFilter final { static grpc_error *InitCallElement(grpc_exec_ctx *exec_ctx, grpc_call_element *elem, - grpc_call_element_args *args) { + const grpc_call_element_args *args) { ChannelDataType *channel_data = (ChannelDataType *)elem->channel_data; // Construct the object in the already-allocated memory. CallDataType *call_data = new (elem->call_data) CallDataType(); |