mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +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.
|
// Add a remote ICE candidate.
|
||||||
if (data.contains("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