use persistent-data::bitset to avoid ambiguity
This commit is contained in:
@ -198,54 +198,54 @@ namespace persistent_data {
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
bitset::bitset(tm_ptr tm)
|
||||
persistent_data::bitset::bitset(tm_ptr tm)
|
||||
: impl_(new bitset_impl(tm))
|
||||
{
|
||||
}
|
||||
|
||||
bitset::bitset(tm_ptr tm, block_address root, unsigned nr_bits)
|
||||
persistent_data::bitset::bitset(tm_ptr tm, block_address root, unsigned nr_bits)
|
||||
: impl_(new bitset_impl(tm, root, nr_bits))
|
||||
{
|
||||
}
|
||||
|
||||
block_address
|
||||
bitset::get_root() const
|
||||
persistent_data::bitset::get_root() const
|
||||
{
|
||||
return impl_->get_root();
|
||||
}
|
||||
|
||||
void
|
||||
bitset::grow(unsigned new_nr_bits, bool default_value)
|
||||
persistent_data::bitset::grow(unsigned new_nr_bits, bool default_value)
|
||||
{
|
||||
impl_->grow(new_nr_bits, default_value);
|
||||
}
|
||||
|
||||
void
|
||||
bitset::destroy()
|
||||
persistent_data::bitset::destroy()
|
||||
{
|
||||
impl_->destroy();
|
||||
}
|
||||
|
||||
bool
|
||||
bitset::get(unsigned n)
|
||||
persistent_data::bitset::get(unsigned n)
|
||||
{
|
||||
return impl_->get(n);
|
||||
}
|
||||
|
||||
void
|
||||
bitset::set(unsigned n, bool value)
|
||||
persistent_data::bitset::set(unsigned n, bool value)
|
||||
{
|
||||
impl_->set(n, value);
|
||||
}
|
||||
|
||||
void
|
||||
bitset::flush()
|
||||
persistent_data::bitset::flush()
|
||||
{
|
||||
impl_->flush();
|
||||
}
|
||||
|
||||
void
|
||||
bitset::walk_bitset(bitset_visitor &v) const
|
||||
persistent_data::bitset::walk_bitset(bitset_visitor &v) const
|
||||
{
|
||||
impl_->walk_bitset(v);
|
||||
}
|
||||
|
Reference in New Issue
Block a user