diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-15 16:49:43 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-15 16:49:43 -0800 |
commit | 626f1c9d537de45c6604a1dc7b103933073c4f00 (patch) | |
tree | 396f1e34d6ec9816987cf74532f945667b6f90a2 /include/grpcpp/security | |
parent | 9cfacc48ee2e9f8db083d578c84881551734b1f0 (diff) |
Remove the std::unique_ptr, instead use move semantics everywhere
Diffstat (limited to 'include/grpcpp/security')
-rw-r--r-- | include/grpcpp/security/credentials.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/grpcpp/security/credentials.h b/include/grpcpp/security/credentials.h index 8dfbdec3e6..d8c9e04d77 100644 --- a/include/grpcpp/security/credentials.h +++ b/include/grpcpp/security/credentials.h @@ -46,8 +46,8 @@ std::shared_ptr<Channel> CreateCustomChannelWithInterceptors( const grpc::string& target, const std::shared_ptr<ChannelCredentials>& creds, const ChannelArguments& args, - std::unique_ptr<std::vector< - std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>> + std::vector< + std::unique_ptr<experimental::ClientInterceptorFactoryInterface>> interceptor_creators); } // namespace experimental @@ -80,8 +80,8 @@ class ChannelCredentials : private GrpcLibraryCodegen { const grpc::string& target, const std::shared_ptr<ChannelCredentials>& creds, const ChannelArguments& args, - std::unique_ptr<std::vector< - std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>> + std::vector< + std::unique_ptr<experimental::ClientInterceptorFactoryInterface>> interceptor_creators); virtual std::shared_ptr<Channel> CreateChannel( @@ -91,8 +91,8 @@ class ChannelCredentials : private GrpcLibraryCodegen { // implemented as a virtual function so that it does not break API. virtual std::shared_ptr<Channel> CreateChannelWithInterceptors( const grpc::string& target, const ChannelArguments& args, - std::unique_ptr<std::vector< - std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>> + std::vector< + std::unique_ptr<experimental::ClientInterceptorFactoryInterface>> interceptor_creators) { return nullptr; }; |