diff --git a/persistent-data/data-structures/btree.tcc b/persistent-data/data-structures/btree.tcc index 62219f4..241c866 100644 --- a/persistent-data/data-structures/btree.tcc +++ b/persistent-data/data-structures/btree.tcc @@ -486,6 +486,8 @@ namespace persistent_data { else // FIXME: check if we're overwriting with the same value. n.set_value(index, value); + + root_ = spine.get_root(); } template