]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/crypto/CryptoContextPool.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / librbd / crypto / CryptoContextPool.h
index c0ebce0c2333eac7123a9a57c66b6cc68e3e85a4..00486dacdd6591922ae97bce5045b29955424cf7 100644 (file)
@@ -5,7 +5,6 @@
 #define CEPH_LIBRBD_CRYPTO_CRYPTO_CONTEXT_POOL_H
 
 #include "librbd/crypto/DataCryptor.h"
-#include "common/allocator.h"
 #include "include/ceph_assert.h"
 #include <boost/lockfree/queue.hpp>
 
@@ -44,9 +43,7 @@ public:
       return m_data_cryptor->update_context(ctx, in, out, len);
     }
 
-    typedef boost::lockfree::queue<
-            T*,
-            boost::lockfree::allocator<ceph::allocator<void>>> ContextQueue;
+    using ContextQueue = boost::lockfree::queue<T*>;
 
 private:
     DataCryptor<T>* m_data_cryptor;