mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Snapshotting an unbacked SHAMap should yield an unbacked SHAMap
This commit is contained in:
@@ -73,6 +73,7 @@ SHAMap::snapShot (bool isMutable) const
|
|||||||
|
|
||||||
newMap.seq_ = seq_ + 1;
|
newMap.seq_ = seq_ + 1;
|
||||||
newMap.root_ = root_;
|
newMap.root_ = root_;
|
||||||
|
newMap.backed_ = backed_;
|
||||||
|
|
||||||
if ((state_ != SHAMapState::Immutable) || !isMutable)
|
if ((state_ != SHAMapState::Immutable) || !isMutable)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user