diff --git a/pc/rtc_stats_collector.cc b/pc/rtc_stats_collector.cc index a5a3067fa1..6de174b065 100644 --- a/pc/rtc_stats_collector.cc +++ b/pc/rtc_stats_collector.cc @@ -72,7 +72,7 @@ namespace { const char kDirectionInbound = 'I'; const char kDirectionOutbound = 'O'; -const char* kAudioPlayoutSingletonId = "AP"; +static constexpr char kAudioPlayoutSingletonId[] = "AP"; // TODO(https://crbug.com/webrtc/10656): Consider making IDs less predictable. std::string RTCCertificateIDFromFingerprint(const std::string& fingerprint) {