Skip to content

Commit 0b7e36b

Browse files
committed
Add !only_common guard around single-sided containers delta_view push
(Note, this change is based on inspection. I have no motivating case here.)
1 parent abced8c commit 0b7e36b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/util/sharing_map.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,10 @@ SHARING_MAPT(void)::add_item_if_not_shared(
906906
}
907907
}
908908

909-
delta_view.push_back({k, leaf.get_value()});
909+
if(!only_common)
910+
{
911+
delta_view.push_back({k, leaf.get_value()});
912+
}
910913

911914
return;
912915
}

0 commit comments

Comments
 (0)