diff --git a/cpp/cpptutorial.md b/cpp/cpptutorial.md index c6a16907b471e3a766f20eb37b4b1a4ebecf55e6..c19b4727443704047f8a5377c3dde4b8e8b9fc27 100644 --- a/cpp/cpptutorial.md +++ b/cpp/cpptutorial.md @@ -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)) { ... }