Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index 01c45f26d8691303378766258c99cc7fefdde621..c22828b00d15b73be181eb7844955b793fcbf9a5 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -628,17 +628,18 @@ class Connection : public rtc::MessageHandler, |
friend class ConnectionRequest; |
}; |
-// ProxyConnection defers all the interesting work to the port |
+// ProxyConnection defers all the interesting work to the port. |
class ProxyConnection : public Connection { |
public: |
- ProxyConnection(Port* port, size_t index, const Candidate& candidate); |
+ ProxyConnection(Port* port, size_t index, const Candidate& remote_candidate); |
- virtual int Send(const void* data, size_t size, |
- const rtc::PacketOptions& options); |
- virtual int GetError() { return error_; } |
+ int Send(const void* data, |
+ size_t size, |
+ const rtc::PacketOptions& options) override; |
+ int GetError() override { return error_; } |
private: |
- int error_; |
+ int error_ = 0; |
}; |
} // namespace cricket |