I'm not sure why I added this in the first place, there aren't really
any scenarios where invoking it wouldn't be a bug.
Signed-off-by: Samuel Just <sjust@redhat.com>
}
protected:
- CachedExtent(CachedExtent &&other) = default;
+ CachedExtent(CachedExtent &&other) = delete;
CachedExtent(ceph::bufferptr &&ptr) : ptr(std::move(ptr)) {}
CachedExtent(const CachedExtent &other)
: state(other.state),
template <typename... T>
OnodeBlock(T&&... t) : LogicalCachedExtent(std::forward<T>(t)...) {}
- OnodeBlock(OnodeBlock&& block) noexcept
- : LogicalCachedExtent{std::move(block)},
- deltas{std::move(block.deltas)}
- {}
+ OnodeBlock(OnodeBlock&& block) = delete;
OnodeBlock(const OnodeBlock& block, CachedExtent::share_buffer_t tag) noexcept
: LogicalCachedExtent{block, tag},
share_buffer{true}