From: Samuel Just Date: Wed, 13 Jan 2021 06:00:57 +0000 (-0800) Subject: crimson/common/operation.h: permit moving Handle objects X-Git-Tag: v17.1.0~3095^2~12 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d3e5937c08ec48dfb69a2c395b050f4a62c13255;p=ceph.git crimson/common/operation.h: permit moving Handle objects Signed-off-by: Samuel Just --- diff --git a/src/crimson/common/operation.h b/src/crimson/common/operation.h index 1f555e49cb440..8eaefbdbfeabf 100644 --- a/src/crimson/common/operation.h +++ b/src/crimson/common/operation.h @@ -300,9 +300,9 @@ public: Handle() = default; Handle(const Handle&) = delete; - Handle(Handle&&) = delete; + Handle(Handle&&) = default; Handle &operator=(const Handle&) = delete; - Handle &operator=(Handle&&) = delete; + Handle &operator=(Handle&&) = default; /** * Returns a future which unblocks when the handle has entered the passed