diff options
author | Mark D. Roth <roth@google.com> | 2016-11-03 09:30:40 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-11-03 09:30:40 -0700 |
commit | 65c52ea24cfa2af86549b00f57f2b9e63feabff2 (patch) | |
tree | 4c32ce7f284cb13de6ba99fcf29ca176ae3fc24f /src/cpp/client/cronet_credentials.cc | |
parent | 47f1084ce835d4288ddfa9f280e07d0a8d5719c5 (diff) | |
parent | d3f25b3dfe25b7b4a39d6f148b616e9be6ba1347 (diff) |
Merge branch 'remove_fake_resolver' into service_config_json
Diffstat (limited to 'src/cpp/client/cronet_credentials.cc')
-rw-r--r-- | src/cpp/client/cronet_credentials.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cpp/client/cronet_credentials.cc b/src/cpp/client/cronet_credentials.cc index 60cad097db..8e94cf0ad7 100644 --- a/src/cpp/client/cronet_credentials.cc +++ b/src/cpp/client/cronet_credentials.cc @@ -40,12 +40,12 @@ namespace grpc { -class CronetChannelCredentialsImpl GRPC_FINAL : public ChannelCredentials { +class CronetChannelCredentialsImpl final : public ChannelCredentials { public: CronetChannelCredentialsImpl(void* engine) : engine_(engine) {} std::shared_ptr<grpc::Channel> CreateChannel( - const string& target, const grpc::ChannelArguments& args) GRPC_OVERRIDE { + const string& target, const grpc::ChannelArguments& args) override { grpc_channel_args channel_args; args.SetChannelArgs(&channel_args); return CreateChannelInternal( @@ -53,9 +53,7 @@ class CronetChannelCredentialsImpl GRPC_FINAL : public ChannelCredentials { &channel_args, nullptr)); } - SecureChannelCredentials* AsSecureCredentials() GRPC_OVERRIDE { - return nullptr; - } + SecureChannelCredentials* AsSecureCredentials() override { return nullptr; } private: void* engine_; |