]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/crypto/CryptoInterface.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / librbd / crypto / CryptoInterface.h
index 170a5bf28e9eb934a454c8a08eaa1a00610a2a48..1145494a9118f1838c99173771ff85f11f5d1d50 100644 (file)
@@ -4,7 +4,6 @@
 #ifndef CEPH_LIBRBD_CRYPTO_CRYPTO_INTERFACE_H
 #define CEPH_LIBRBD_CRYPTO_CRYPTO_INTERFACE_H
 
-#include "common/RefCountedObj.h"
 #include "include/buffer.h"
 #include "include/intarith.h"
 #include "librbd/io/Types.h"
 namespace librbd {
 namespace crypto {
 
-class CryptoInterface : public RefCountedObject {
+class CryptoInterface {
 
 public:
+  virtual ~CryptoInterface() = default;
+
   virtual int encrypt(ceph::bufferlist* data, uint64_t image_offset) = 0;
   virtual int decrypt(ceph::bufferlist* data, uint64_t image_offset) = 0;
   virtual uint64_t get_block_size() const = 0;