[block_manager] Allow people to change the validator for a block

This commit is contained in:
Joe Thornber
2013-04-26 14:14:28 +01:00
parent 0b4c359a63
commit 53ac7b8119
2 changed files with 18 additions and 3 deletions

View File

@ -119,6 +119,8 @@ namespace persistent_data {
void flush();
void change_validator(typename block_manager<BlockSize>::validator::ptr v);
typename block_io<BlockSize>::ptr io_;
block_address location_;
std::auto_ptr<buffer<BlockSize> > data_;