update doc
This commit is contained in:
parent
de36eb69be
commit
654828fbd0
|
|
@ -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)) {
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue