update doc

This commit is contained in:
yang-g 2015-08-25 15:24:42 -07:00
parent de36eb69be
commit 654828fbd0
1 changed files with 1 additions and 2 deletions

View File

@ -252,8 +252,7 @@ Now we can use the channel to create our stub using the `NewStub` method provide
```cpp
public:
RouteGuideClient(std::shared_ptr<ChannelInterface> channel,
const std::string& db)
RouteGuideClient(std::shared_ptr<Channel> channel, const std::string& db)
: stub_(RouteGuide::NewStub(channel)) {
...
}