Revert "Reduce SHAMapTreeNode copying during SHAMap unsharing:"

This reverts commit 47c6ab0ced.
This commit is contained in:
Mark Travis
2015-05-30 13:55:20 -07:00
committed by Vinnie Falco
parent aaf209485c
commit 52879d964e
4 changed files with 3 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ SHAMap::snapShot (bool isMutable) const
newMap.seq_ = seq_ + 1;
newMap.root_ = root_;
if ((state_ != SHAMapState::Immutable) || isMutable)
if ((state_ != SHAMapState::Immutable) || !isMutable)
{
// If either map may change, they cannot share nodes
newMap.unshare ();