]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common/interruptible_future: remove unnecessary make_ready_future template
authorSamuel Just <sjust@redhat.com>
Wed, 9 Jun 2021 23:09:09 +0000 (16:09 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 23 Jun 2021 18:37:36 +0000 (11:37 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/common/interruptible_future.h

index d05598fe6ad95cec1a85d0b43a78e4a31e069b96..800016ff30312c72bd9fbc203b7e99903565db53 100644 (file)
@@ -507,15 +507,6 @@ struct interruptible_errorator {
        Errorator::template make_ready_future<ValueT>(
          std::forward<A>(value)...));
   }
-  template <typename ValueT = void>
-  static interruptible_future_detail<
-    InterruptCond,
-    typename Errorator::template future<ValueT>>
-  make_ready_future() {
-    return interruptible_future_detail<
-      InterruptCond, typename Errorator::template future<ValueT>>(
-       Errorator::template make_ready_future<ValueT>());
-  }
   static interruptible_future_detail<
     InterruptCond,
     typename Errorator::template future<>> now() {