diff options
author | Roxie Linden <roxie@lindenlab.com> | 2023-11-30 14:37:17 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-08 18:34:01 -0800 |
commit | 82c9e528658412293c264c1e80573e1abc496768 (patch) | |
tree | 95116369da4ae0ed0f10ea4b0de94424c799c4cc | |
parent | d302d89891475d1431099deac99bc52a2c3046a1 (diff) |
fix mac build issue
-rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index 31be3daed3..26b617bde4 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -1159,7 +1159,7 @@ LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::sessionState::fi LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::findParticipantByID(const std::string& channelID, const LLUUID& id) { participantStatePtr_t result; - auto& session = sessionState::matchSessionByChannelID(channelID); + auto session = sessionState::matchSessionByChannelID(channelID); if (session) { @@ -1172,7 +1172,7 @@ LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::findParticipantB LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::addParticipantByID(const std::string& channelID, const LLUUID &id) { participantStatePtr_t result; - auto& session = sessionState::matchSessionByChannelID(channelID); + auto session = sessionState::matchSessionByChannelID(channelID); if (session) { result = session->addParticipant(id); @@ -1183,7 +1183,7 @@ LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::addParticipantBy void LLWebRTCVoiceClient::removeParticipantByID(const std::string &channelID, const LLUUID &id) { participantStatePtr_t result; - auto& session = sessionState::matchSessionByChannelID(channelID); + auto session = sessionState::matchSessionByChannelID(channelID); if (session) { participantStatePtr_t participant = session->findParticipantByID(id); @@ -2957,4 +2957,4 @@ void LLVoiceWebRTCConnection::OnVoiceDisconnectionRequestFailure(std::string url boost::bind(&LLVoiceWebRTCConnection::OnVoiceConnectionRequestFailure, this, url, retries - 1, body, _1)); } setVoiceConnectionState(VOICE_STATE_SESSION_EXIT); -}
\ No newline at end of file +} |