[btree] update the root_ after an insert

!!!
This commit is contained in:
Joe Thornber 2013-06-19 17:19:24 +01:00
parent a8585f1d68
commit ec99e6fd93

View File

@ -486,6 +486,8 @@ namespace persistent_data {
else else
// FIXME: check if we're overwriting with the same value. // FIXME: check if we're overwriting with the same value.
n.set_value(index, value); n.set_value(index, value);
root_ = spine.get_root();
} }
template <unsigned Levels, typename ValueTraits> template <unsigned Levels, typename ValueTraits>