From e66550008a025cac586e4dc63505b488d85049be Mon Sep 17 00:00:00 2001 From: Jonas Oreland Date: Thu, 5 Mar 2020 09:00:37 +0100 Subject: [PATCH] Make Connection::id() const Bug: None Change-Id: I9145ba5e8ad9f80aec047227aa0a95858354fd1a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169725 Reviewed-by: Harald Alvestrand Commit-Queue: Jonas Oreland Cr-Commit-Position: refs/heads/master@{#30689} --- p2p/base/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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