]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/container/detail/pool_resource.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / container / detail / pool_resource.hpp
index e5f59f51869ebcb177f370c1a1bb09f0525ec762..87eecacce16ffa57735a9d2c36340b2f856e0036 100644 (file)
@@ -100,7 +100,7 @@ class pool_resource
 
    //! <b>Effects</b>: Calls
    //!   `this->release()`.
-   virtual ~pool_resource();
+   ~pool_resource();
 
    //! <b>Effects</b>: Calls Calls `upstream_resource()->deallocate()` as necessary
    //!   to release all allocated memory. [ Note: memory is released back to
@@ -131,18 +131,14 @@ class pool_resource
    //!   using `upstream_resource()->allocate()`.
    //!
    //! <b>Throws</b>: Nothing unless `upstream_resource()->allocate()` throws.
-   virtual void* do_allocate(std::size_t bytes, std::size_t alignment);
+   void* do_allocate(std::size_t bytes, std::size_t alignment);
 
    //! <b>Effects</b>: Return the memory at p to the pool. It is unspecified if or under
    //!   what circumstances this operation will result in a call to
    //!   `upstream_resource()->deallocate()`.
    //!
    //! <b>Throws</b>: Nothing.
-   virtual void do_deallocate(void* p, std::size_t bytes, std::size_t alignment);
-
-   //! <b>Returns</b>:
-   //!   `this == dynamic_cast<const pool_resource*>(&other)`.
-   virtual bool do_is_equal(const memory_resource& other) const BOOST_NOEXCEPT;
+   void do_deallocate(void* p, std::size_t bytes, std::size_t alignment);
 
    //Non-standard observers
    public: