mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +02:00
Fix non-const lvalue reference
This commit is contained in:
parent
bb3d0fa5fa
commit
8e3cfe9805
1 changed files with 2 additions and 1 deletions
|
@ -489,7 +489,8 @@ void WebRTCDataChannels::onSignalingMessage(const QJsonObject& message) {
|
|||
|
||||
// Add a remote ICE candidate.
|
||||
if (data.contains("candidate")) {
|
||||
connection->addIceCandidate(data.value("candidate").toObject());
|
||||
auto candidate = data.value("candidate").toObject();
|
||||
connection->addIceCandidate(candidate);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue