[array] wire up the correct validator

This commit is contained in:
Joe Thornber 2013-10-02 11:07:33 +01:00
parent e7223037d4
commit 3bc798c1f8

View File

@ -216,7 +216,7 @@ namespace persistent_data {
block_rc_(tm->get_sm(), *this),
block_tree_(tm, block_rc_),
rc_(rc),
validator_(new block_manager<>::noop_validator()) {
validator_(new array_detail::array_block_validator) {
}
array(tm_ptr tm, ref_counter rc,
@ -228,7 +228,7 @@ namespace persistent_data {
block_rc_(tm->get_sm(), *this),
block_tree_(tm, root, block_rc_),
rc_(rc),
validator_(new block_manager<>::noop_validator()) {
validator_(new array_detail::array_block_validator) {
}
unsigned get_nr_entries() const {