[caching] superblock_flags.clear_flag()
This commit is contained in:
parent
20bf22e662
commit
471abe52b9
@ -83,6 +83,12 @@ superblock_flags::set_flag(superblock_flags::flag f)
|
||||
flags_.insert(f);
|
||||
}
|
||||
|
||||
void
|
||||
superblock_flags::clear_flag(superblock_flags::flag f)
|
||||
{
|
||||
flags_.erase(f);
|
||||
}
|
||||
|
||||
bool
|
||||
superblock_flags::get_flag(flag f) const
|
||||
{
|
||||
|
@ -30,6 +30,7 @@ namespace caching {
|
||||
superblock_flags(uint32_t bits);
|
||||
|
||||
void set_flag(flag f);
|
||||
void clear_flag(flag f);
|
||||
bool get_flag(flag f) const;
|
||||
uint32_t encode() const;
|
||||
uint32_t get_unhandled_flags() const;
|
||||
|
Loading…
Reference in New Issue
Block a user