]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/container/test/node_handle_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / container / test / node_handle_test.cpp
index 3c263794619dfdca62b94aad40bb5b81bfbe8248..6aab38eca38ed71333d03a2df5f7a5f24fc1b369 100644 (file)
@@ -140,15 +140,18 @@ struct node
       ++count;
    }
 
-   ~node()
-   {
-      --count;
-   }
+   template<class Alloc>
+   void destructor(Alloc &)
+   {  this->~node(); }
 
    static unsigned int count;
 
    static void reset_count()
    {  count = 0;  }
+
+   ~node()
+   {  --count; }
+
 };
 
 template<class T1, class T2>