Skip to content
Snippets Groups Projects
Commit 654828fb authored by yang-g's avatar yang-g
Browse files

update doc

parent de36eb69
No related branches found
No related tags found
No related merge requests found
...@@ -252,8 +252,7 @@ Now we can use the channel to create our stub using the `NewStub` method provide ...@@ -252,8 +252,7 @@ Now we can use the channel to create our stub using the `NewStub` method provide
```cpp ```cpp
public: public:
RouteGuideClient(std::shared_ptr<ChannelInterface> channel, RouteGuideClient(std::shared_ptr<Channel> channel, const std::string& db)
const std::string& db)
: stub_(RouteGuide::NewStub(channel)) { : stub_(RouteGuide::NewStub(channel)) {
... ...
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment