summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-11-30 14:37:17 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:35 -0800
commit7bc2f93e53105c043814c5c9bb1bac80e57b15aa (patch)
treeb7d78835ddfb63b65d46bfb082038b59375661f4 /indra
parentebfa44cdb76afb9632556115eef10969912340f5 (diff)
fix mac build issue
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoicewebrtc.cpp8
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
+}