]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common: expose unsafe_get0 for interruptible errorated futures
authorSamuel Just <sjust@redhat.com>
Sun, 4 Feb 2024 06:47:04 +0000 (22:47 -0800)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 8 May 2024 07:05:37 +0000 (10:05 +0300)
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 11698a6da9d518329003a90777b0ef31454d2bfd)

src/crimson/common/interruptible_future.h

index 2421bc67b58d2745c76d36f0ee54818e11b94726..dbda2720ce0ad2fab2dd24cd67eebc94f6cb0cb8 100644 (file)
@@ -719,6 +719,7 @@ class [[nodiscard]] interruptible_future_detail<
 {
 public:
   using core_type = ErroratedFuture<crimson::errorated_future_marker<T>>;
+  using core_type::unsafe_get0;
   using errorator_type = typename core_type::errorator_type;
   using interrupt_errorator_type =
     interruptible_errorator<InterruptCond, errorator_type>;