Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1490: vrt_coll: remove commented out code
Browse files Browse the repository at this point in the history
lifflander committed Jul 20, 2021
1 parent 2018d4c commit f8e8750
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/vt/vrt/collection/manager.impl.h
Original file line number Diff line number Diff line change
@@ -3223,20 +3223,9 @@ void CollectionManager::restoreFromFileInPlace(
auto const elm_exists = elm_holder->exists(idx);
vtAssertExpr(elm_exists);

#if 0
auto col_ptr = checkpoint::deserializeFromFile<ColT>(file_name);
col_ptr->stats_.resetPhase();

auto map_han = UniversalIndexHolder<>::getMap(proxy_bits);
elm_holder->remove(idx);
elm_holder->insert(idx, typename Holder<ColT, IndexType>::InnerHolder{
std::move(col_ptr), map_han, range
});
#else
auto ptr = elm_holder->lookup(idx).getCollection();
checkpoint::deserializeInPlaceFromFile<ColT>(file_name, static_cast<ColT*>(ptr));
ptr->stats_.resetPhase();
#endif
}
}

0 comments on commit f8e8750

Please sign in to comment.