mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-10 17:23:15 +02:00
Fix error passing rvalue ref as lvalue
This commit is contained in:
parent
18c1371321
commit
4534b87ea0
1 changed files with 2 additions and 1 deletions
|
@ -69,8 +69,9 @@ void AvatarReplicas::removeReplicas(const QUuid& parentID) {
|
|||
void AvatarReplicas::processAvatarIdentity(const QUuid& parentID, const QByteArray& identityData, bool& identityChanged, bool& displayNameChanged) {
|
||||
if (_replicasMap.find(parentID) != _replicasMap.end()) {
|
||||
auto &replicas = _replicasMap[parentID];
|
||||
QDataStream identityDataStream(identityData);
|
||||
for (auto avatar : replicas) {
|
||||
avatar->processAvatarIdentity(QDataStream(identityData), identityChanged, displayNameChanged);
|
||||
avatar->processAvatarIdentity(identityDataStream, identityChanged, displayNameChanged);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue