From 3cccdb8c24bbe8a4756bff6cb0d9f148e681f586 Mon Sep 17 00:00:00 2001 From: Tomas Gunnarsson Date: Mon, 29 Mar 2021 19:34:00 +0200 Subject: [PATCH] Make RTCCertificate::identity_ const Bug: none Change-Id: Id66268a7b23704b1526c698901e4875fbfc13eb2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/213184 Reviewed-by: Mirko Bonadei Commit-Queue: Tommi Cr-Commit-Position: refs/heads/master@{#33588} --- rtc_base/rtc_certificate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtc_base/rtc_certificate.h b/rtc_base/rtc_certificate.h index 102385e5a2..45e51b5b1b 100644 --- a/rtc_base/rtc_certificate.h +++ b/rtc_base/rtc_certificate.h @@ -87,7 +87,7 @@ class RTC_EXPORT RTCCertificate : public RefCountInterface { private: // The SSLIdentity is the owner of the SSLCertificate. To protect our // GetSSLCertificate() we take ownership of |identity_|. - std::unique_ptr identity_; + const std::unique_ptr identity_; }; } // namespace rtc