mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
fix linux clang build
This commit is contained in:
parent
b3dbf7a025
commit
6d8f769cf8
1 changed files with 2 additions and 1 deletions
|
@ -717,10 +717,11 @@ SharedNodePointer LimitedNodeList::addOrUpdateNode(const QUuid& uuid, NodeType_t
|
|||
// insert the new node and release our read lock
|
||||
#if defined(Q_OS_ANDROID) || (defined(__clang__) && defined(Q_OS_LINUX))
|
||||
_nodeHash.insert(UUIDNodePair(newNode->getUUID(), newNodePointer));
|
||||
_localIDMap.insert(std::pair<Node::LocalID, SharedNodePointer>(localID, newNodePointer));
|
||||
#else
|
||||
_nodeHash.emplace(newNode->getUUID(), newNodePointer);
|
||||
#endif
|
||||
_localIDMap.emplace(localID, newNodePointer);
|
||||
#endif
|
||||
readLocker.unlock();
|
||||
|
||||
qCDebug(networking) << "Added" << *newNode;
|
||||
|
|
Loading…
Reference in a new issue