// Both parameters must outlive the object.
SecureChannelFactory(StreamChannelFactory* channel_factory,
Authenticator* authenticator);
- virtual ~SecureChannelFactory();
+ ~SecureChannelFactory() override;
// StreamChannelFactory interface.
- virtual void CreateChannel(const std::string& name,
- const ChannelCreatedCallback& callback) OVERRIDE;
- virtual void CancelChannelCreation(const std::string& name) OVERRIDE;
+ void CreateChannel(const std::string& name,
+ const ChannelCreatedCallback& callback) override;
+ void CancelChannelCreation(const std::string& name) override;
private:
typedef std::map<std::string, ChannelAuthenticator*> AuthenticatorMap;