[caching tools] handle version 1 metadata where policy_hint_width is zero

This commit is contained in:
Joe Thornber
2013-10-14 12:40:13 +01:00
parent b177275816
commit 3b11749dcf
3 changed files with 19 additions and 6 deletions

View File

@ -75,6 +75,8 @@ namespace caching {
void check(hint_array_damage::damage_visitor &visitor);
private:
static uint32_t check_width(uint32_t width);
unsigned width_;
boost::shared_ptr<persistent_data::array_base> impl_;
};