void AliasManager::RegisterReference(const Node& node) { const Node *pIdentity = node.Identity(); m_newIdentityByOldIdentity.insert(std::make_pair(pIdentity, &node)); m_anchorByIdentity.insert(std::make_pair(&node, _CreateNewAnchor())); }
void AliasManager::RegisterReference(const Node& node) { m_anchorByIdentity.insert(std::make_pair(&node, _CreateNewAnchor())); }