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