[thin] fix duplicated counting of mapped blocks in restore emitter

This commit is contained in:
Ming-Hung Tsai
2016-08-10 23:40:48 +08:00
parent 702a38f438
commit 6863db6f86
5 changed files with 8 additions and 7 deletions

View File

@ -498,7 +498,7 @@ namespace persistent_data {
}
template <unsigned Levels, typename ValueTraits>
void
bool
btree<Levels, ValueTraits>::
insert(key const &key,
typename ValueTraits::value_type const &value)
@ -531,6 +531,8 @@ namespace persistent_data {
n.set_value(index, value);
root_ = spine.get_root();
return need_insert;
}
template <unsigned Levels, typename ValueTraits>