]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/.../errorator: expose get_exception
authorSamuel Just <sjust@redhat.com>
Thu, 8 Feb 2024 01:25:38 +0000 (17:25 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 29 Feb 2024 23:02:38 +0000 (15:02 -0800)
Useful for intentionally ignoring an exceptional future.  Otherwise,
seastar warns.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/common/errorator.h

index 7e7d2c64a2d6a6326b0c705469810ac54c634047..a9d743fcb84fe12529c94db44fbcd59c6c42819b 100644 (file)
@@ -522,9 +522,9 @@ private:
     }
 
   protected:
-    using base_t::get_exception;
     friend class ::transaction_manager_test_t;
   public:
+    using base_t::get_exception;
     using errorator_type = ::crimson::errorator<AllowedErrors...>;
     using promise_type = seastar::promise<ValueT>;