]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/container/src/pool_resource.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / container / src / pool_resource.cpp
index e6829e28e7b1131f3283460362237994fa8929df..82105a4520c12fa556f7dd67457d412527a9b942 100644 (file)
@@ -176,7 +176,7 @@ pool_resource::pool_resource(const pool_options& opts) BOOST_NOEXCEPT
    : m_options(opts), m_upstream(*get_default_resource()), m_oversized_list(), m_pool_data(), m_pool_count()
 {  this->priv_constructor_body();  }
 
-pool_resource::~pool_resource() //virtual
+pool_resource::~pool_resource()
 {
    this->release();
 
@@ -203,7 +203,7 @@ memory_resource* pool_resource::upstream_resource() const
 pool_options pool_resource::options() const
 {  return m_options; }
 
-void* pool_resource::do_allocate(std::size_t bytes, std::size_t alignment) //virtual
+void* pool_resource::do_allocate(std::size_t bytes, std::size_t alignment)
 {
    if(!m_pool_data){
       this->priv_init_pools();
@@ -224,7 +224,7 @@ void* pool_resource::do_allocate(std::size_t bytes, std::size_t alignment) //vir
    }
 }
 
-void pool_resource::do_deallocate(void* p, std::size_t bytes, std::size_t alignment) //virtual
+void pool_resource::do_deallocate(void* p, std::size_t bytes, std::size_t alignment)
 {
    (void)alignment;  //alignment ignored here, max_align is used by pools
    if(bytes > m_options.largest_required_pool_block){
@@ -237,10 +237,6 @@ void pool_resource::do_deallocate(void* p, std::size_t bytes, std::size_t alignm
    }
 }
 
-bool pool_resource::do_is_equal(const memory_resource& other) const BOOST_NOEXCEPT //virtual
-{  return this == dynamic_cast<const pool_resource*>(&other);  }
-
-
 std::size_t pool_resource::pool_count() const
 {
    if(BOOST_LIKELY((0 != m_pool_data))){