]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/errorator: remove unecessary template param
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 23 Aug 2021 01:46:31 +0000 (09:46 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 23 Aug 2021 01:46:31 +0000 (09:46 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/common/errorator.h

index 4ee7025e83519430992aefd69a4378ada3abbf1c..95deda1fcaaa702fab95024a86ec84625558e4d0 100644 (file)
@@ -914,7 +914,7 @@ public:
   }
 
 private:
-  template <class T, class = std::void_t<T>>
+  template <class T>
   class futurize {
     using vanilla_futurize = seastar::futurize<T>;
 
@@ -960,10 +960,7 @@ private:
   };
   template <template <class...> class ErroratedFutureT,
             class ValueT>
-  class futurize<ErroratedFutureT<::crimson::errorated_future_marker<ValueT>>,
-                 std::void_t<
-                   typename ErroratedFutureT<
-                     ::crimson::errorated_future_marker<ValueT>>::errorator_type>> {
+  class futurize<ErroratedFutureT<::crimson::errorated_future_marker<ValueT>>> {
   public:
     using type = ::crimson::errorator<AllowedErrors...>::future<ValueT>;