]> git.apps.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)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 8 May 2024 07:05:37 +0000 (10:05 +0300)
Useful for intentionally ignoring an exceptional future.  Otherwise,
seastar warns.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 0afd9fa4326d4e7fe5966347a37623379072fd98)

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>;