]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common/operation.h: permit moving Handle objects
authorSamuel Just <sjust@redhat.com>
Wed, 13 Jan 2021 06:00:57 +0000 (22:00 -0800)
committerSamuel Just <sjust@redhat.com>
Mon, 1 Feb 2021 20:48:39 +0000 (12:48 -0800)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/common/operation.h

index 1f555e49cb440342552113a7e5b3e6aa795e9bed..8eaefbdbfeabf1fa3083c3bdcf72a56556d37e84 100644 (file)
@@ -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