From a42c48e04d4d5efd3662429c7b073808ec033a1b Mon Sep 17 00:00:00 2001 From: Jie Yao Date: Thu, 14 Sep 2023 00:58:36 -0700 Subject: [PATCH] make VChunk CopyAssignable and CopyConstructible --- src/include/homestore/vchunk.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/homestore/vchunk.h b/src/include/homestore/vchunk.h index ed58a99a3..309cf1f02 100644 --- a/src/include/homestore/vchunk.h +++ b/src/include/homestore/vchunk.h @@ -24,7 +24,7 @@ class Chunk; class VChunk { public: VChunk(cshared< Chunk > const&); - + ~VChunk() = default; void set_user_private(const sisl::blob& data); @@ -34,6 +34,6 @@ class VChunk { cshared< Chunk > get_internal_chunk() const; private: - cshared< Chunk > internalChunk; + shared< Chunk > internalChunk; }; -}// namespace homestore +} // namespace homestore