diff options
| -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 +} | 
