void
ZoneTable::destroy(util::MemorySegment& mem_sgmt, ZoneTable* ztable) {
- ZoneTableTree::destroy(mem_sgmt, ztable->zones_);
+ ZoneTableTree::destroy(mem_sgmt, ztable->zones_.get());
mem_sgmt.deallocate(ztable, sizeof(ZoneTable));
}
#include <datasrc/result.h>
#include <datasrc/memory/domaintree.h>
+#include <boost/interprocess/offset_ptr.hpp>
+
namespace isc {
namespace dns {
class Name;
FindResult findZone(const isc::dns::Name& name) const;
private:
- ZoneTableTree* zones_;
+ boost::interprocess::offset_ptr<ZoneTableTree> zones_;
};
}
}