diff options
author | Jonas Oreland <jonaso@webrtc.org> | 2020-03-05 09:00:37 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-05 09:30:18 +0000 |
commit | e66550008a025cac586e4dc63505b488d85049be (patch) | |
tree | c6110568169b33c352beca4bc1174132571f418a /p2p | |
parent | 16ddae924efbdead817e78e4d23eea9d4032b365 (diff) | |
download | webrtc-e66550008a025cac586e4dc63505b488d85049be.tar.gz |
Make Connection::id() const
Bug: None
Change-Id: I9145ba5e8ad9f80aec047227aa0a95858354fd1a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169725
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Jonas Oreland <jonaso@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30689}
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/base/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/base/connection.h b/p2p/base/connection.h index 9f3ad21125..0ce2b5d615 100644 --- a/p2p/base/connection.h +++ b/p2p/base/connection.h @@ -86,7 +86,7 @@ class Connection : public CandidatePairInterface, ~Connection() override; // A unique ID assigned when the connection is created. - uint32_t id() { return id_; } + uint32_t id() const { return id_; } // Implementation of virtual methods in CandidatePairInterface. // Returns the description of the local port |