浏览代码

Merge pull request #7228 from atetubou/fix_typo

Fix a typo in include/grpc++/impl/codegen/client_context.h
kpayson64 9 年之前
父节点
当前提交
58539c4f77
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      include/grpc++/create_channel.h
  2. 1 1
      include/grpc++/impl/codegen/client_context.h

+ 0 - 1
include/grpc++/create_channel.h

@@ -48,7 +48,6 @@ namespace grpc {
 /// \param target The URI of the endpoint to connect to.
 /// \param creds Credentials to use for the created channel. If it does not hold
 /// an object or is invalid, a lame channel is returned.
-/// \param args Options for channel creation.
 std::shared_ptr<Channel> CreateChannel(
     const grpc::string& target,
     const std::shared_ptr<ChannelCredentials>& creds);

+ 1 - 1
include/grpc++/impl/codegen/client_context.h

@@ -271,7 +271,7 @@ class ClientContext {
 
   /// Set \a algorithm to be the compression algorithm used for the client call.
   ///
-  /// \param algorith The compression algorithm used for the client call.
+  /// \param algorithm The compression algorithm used for the client call.
   void set_compression_algorithm(grpc_compression_algorithm algorithm);
 
   /// Return the peer uri in a string.